Commit 47fc7211 authored by Øyvind Kolås's avatar Øyvind Kolås

stop using gegl_operation_class_set_name() for gimp gegl ops.

* app/gegl/gimpoperationcolorbalance.c:
* app/gegl/gimpoperationcolorize.c:
* app/gegl/gimpoperationcurves.c:
* app/gegl/gimpoperationdesaturate.c:
* app/gegl/gimpoperationhuesaturation.c:
* app/gegl/gimpoperationlevels.c:
* app/gegl/gimpoperationposterize.c:
* app/gegl/gimpoperationthreshold.c:
* app/gegl/gimpoperationtilesink.c:
* app/gegl/gimpoperationtilesource.c:
* app/gegl/gimpoperationdesaturate.c: stop using
gegl_operation_class_set_name() for gimp gegl ops.

svn path=/trunk/; revision=24750
parent 53082969
......@@ -3,9 +3,15 @@
* app/gegl/gimpoperationcolorbalance.c:
* app/gegl/gimpoperationcolorize.c:
* app/gegl/gimpoperationcurves.c:
* app/gegl/gimpoperationdesaturate.c:
* app/gegl/gimpoperationhuesaturation.c:
* app/gegl/gimpoperationlevels.c:
* app/gegl/gimpoperationposterize.c:
* app/gegl/gimpoperationthreshold.c:
* app/gegl/gimpoperationtilesink.c:
* app/gegl/gimpoperationtilesource.c:
* app/gegl/gimpoperationdesaturate.c: stop using
gegl_operation_class_set_name() for gimp gegl-ops before #warning in
build.
gegl_operation_class_set_name() for gimp gegl ops.
2008-01-30 Michael Natterer <mitch@gimp.org>
......
......@@ -54,10 +54,10 @@ gimp_operation_color_balance_class_init (GimpOperationColorBalanceClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_color_balance_process;
operation_class->name = "gimp-color-balance";
point_class->process = gimp_operation_color_balance_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
g_param_spec_object ("config",
......
......@@ -53,10 +53,10 @@ gimp_operation_colorize_class_init (GimpOperationColorizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_colorize_process;
operation_class->name = "gimp-colorize";
point_class->process = gimp_operation_colorize_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
g_param_spec_object ("config",
......
......@@ -54,10 +54,10 @@ gimp_operation_curves_class_init (GimpOperationCurvesClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_curves_process;
operation_class->name = "gimp-curves";
point_class->process = gimp_operation_curves_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
g_param_spec_object ("config",
......
......@@ -68,10 +68,10 @@ gimp_operation_desaturate_class_init (GimpOperationDesaturateClass *klass)
object_class->set_property = gimp_operation_desaturate_set_property;
object_class->get_property = gimp_operation_desaturate_get_property;
point_class->process = gimp_operation_desaturate_process;
operation_class->name = "gimp-desaturate";
point_class->process = gimp_operation_desaturate_process;
g_object_class_install_property (object_class,
PROP_MODE,
g_param_spec_enum ("mode",
......
......@@ -54,9 +54,9 @@ gimp_operation_hue_saturation_class_init (GimpOperationHueSaturationClass *klass
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_hue_saturation_process;
operation_class->name = "gimp-hue-saturation";
gegl_operation_class_set_name (operation_class, "gimp-hue-saturation");
point_class->process = gimp_operation_hue_saturation_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
......
......@@ -54,9 +54,9 @@ gimp_operation_levels_class_init (GimpOperationLevelsClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_levels_process;
operation_class->name = "gimp-levels";
gegl_operation_class_set_name (operation_class, "gimp-levels");
point_class->process = gimp_operation_levels_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
......
......@@ -54,9 +54,9 @@ gimp_operation_posterize_class_init (GimpOperationPosterizeClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_posterize_process;
operation_class->name = "gimp-posterize";
gegl_operation_class_set_name (operation_class, "gimp-posterize");
point_class->process = gimp_operation_posterize_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
......
......@@ -53,9 +53,9 @@ gimp_operation_threshold_class_init (GimpOperationThresholdClass *klass)
object_class->set_property = gimp_operation_point_filter_set_property;
object_class->get_property = gimp_operation_point_filter_get_property;
point_class->process = gimp_operation_threshold_process;
operation_class->name = "gimp-threshold";
gegl_operation_class_set_name (operation_class, "gimp-threshold");
point_class->process = gimp_operation_threshold_process;
g_object_class_install_property (object_class,
GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,
......
......@@ -94,10 +94,11 @@ gimp_operation_tile_sink_class_init (GimpOperationTileSinkClass *klass)
object_class->set_property = gimp_operation_tile_sink_set_property;
object_class->get_property = gimp_operation_tile_sink_get_property;
operation_class->name = "gimp-tilemanager-sink";
sink_class->process = gimp_operation_tile_sink_process;
sink_class->needs_full = FALSE;
gegl_operation_class_set_name (operation_class, "gimp-tilemanager-sink");;
g_object_class_install_property (object_class, PROP_TILE_MANAGER,
g_param_spec_boxed ("tile-manager",
......
......@@ -79,6 +79,7 @@ gimp_operation_tile_source_class_init (GimpOperationTileSourceClass *klass)
object_class->set_property = gimp_operation_tile_source_set_property;
object_class->get_property = gimp_operation_tile_source_get_property;
operation_class->name = "gimp-tilemanager-source";
operation_class->prepare = gimp_operation_tile_source_prepare;
operation_class->get_defined_region = gimp_operation_tile_source_get_defined_region;
operation_class->adjust_result_region = NULL; /* the default source is
......@@ -89,7 +90,6 @@ gimp_operation_tile_source_class_init (GimpOperationTileSourceClass *klass)
source_class->process = gimp_operation_tile_source_process;
gegl_operation_class_set_name (operation_class, "gimp-tilemanager-source");;
g_object_class_install_property (object_class, PROP_TILE_MANAGER,
g_param_spec_boxed ("tile-manager",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment