gimp r24876 - in trunk: . app/gegl



Author: mitch
Date: Tue Feb 12 16:56:36 2008
New Revision: 24876
URL: http://svn.gnome.org/viewvc/gimp?rev=24876&view=rev

Log:
2008-02-12  Michael Natterer  <mitch gimp org>

	* 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: added categories and very
	lame descriptions. Dunno if the categories are good that way but
	at least they are not NULL now.



Modified:
   trunk/ChangeLog
   trunk/app/gegl/gimpoperationcolorbalance.c
   trunk/app/gegl/gimpoperationcolorize.c
   trunk/app/gegl/gimpoperationcurves.c
   trunk/app/gegl/gimpoperationdesaturate.c
   trunk/app/gegl/gimpoperationhuesaturation.c
   trunk/app/gegl/gimpoperationlevels.c
   trunk/app/gegl/gimpoperationposterize.c
   trunk/app/gegl/gimpoperationthreshold.c
   trunk/app/gegl/gimpoperationtilesink.c
   trunk/app/gegl/gimpoperationtilesource.c

Modified: trunk/app/gegl/gimpoperationcolorbalance.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolorbalance.c	(original)
+++ trunk/app/gegl/gimpoperationcolorbalance.c	Tue Feb 12 16:56:36 2008
@@ -51,12 +51,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-color-balance";
+  operation_class->name        = "gimp-color-balance";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Color Balance operation";
 
-  point_class->process       = gimp_operation_color_balance_process;
+  point_class->process         = gimp_operation_color_balance_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationcolorize.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolorize.c	(original)
+++ trunk/app/gegl/gimpoperationcolorize.c	Tue Feb 12 16:56:36 2008
@@ -50,12 +50,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-colorize";
+  operation_class->name        = "gimp-colorize";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Colorize operation";
 
-  point_class->process       = gimp_operation_colorize_process;
+  point_class->process         = gimp_operation_colorize_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationcurves.c
==============================================================================
--- trunk/app/gegl/gimpoperationcurves.c	(original)
+++ trunk/app/gegl/gimpoperationcurves.c	Tue Feb 12 16:56:36 2008
@@ -53,12 +53,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-curves";
+  operation_class->name        = "gimp-curves";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Curves operation";
 
-  point_class->process       = gimp_operation_curves_process;
+  point_class->process         = gimp_operation_curves_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationdesaturate.c
==============================================================================
--- trunk/app/gegl/gimpoperationdesaturate.c	(original)
+++ trunk/app/gegl/gimpoperationdesaturate.c	Tue Feb 12 16:56:36 2008
@@ -65,12 +65,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_desaturate_set_property;
-  object_class->get_property = gimp_operation_desaturate_get_property;
+  object_class->set_property   = gimp_operation_desaturate_set_property;
+  object_class->get_property   = gimp_operation_desaturate_get_property;
 
-  operation_class->name      = "gimp-desaturate";
+  operation_class->name        = "gimp-desaturate";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Desaturate operation";
 
-  point_class->process       = gimp_operation_desaturate_process;
+  point_class->process         = gimp_operation_desaturate_process;
 
   g_object_class_install_property (object_class,
                                    PROP_MODE,

Modified: trunk/app/gegl/gimpoperationhuesaturation.c
==============================================================================
--- trunk/app/gegl/gimpoperationhuesaturation.c	(original)
+++ trunk/app/gegl/gimpoperationhuesaturation.c	Tue Feb 12 16:56:36 2008
@@ -51,12 +51,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-hue-saturation";
+  operation_class->name        = "gimp-hue-saturation";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Hue-Saturation operation";
 
-  point_class->process       = gimp_operation_hue_saturation_process;
+  point_class->process         = gimp_operation_hue_saturation_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationlevels.c
==============================================================================
--- trunk/app/gegl/gimpoperationlevels.c	(original)
+++ trunk/app/gegl/gimpoperationlevels.c	Tue Feb 12 16:56:36 2008
@@ -51,12 +51,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-levels";
+  operation_class->name        = "gimp-levels";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Levels operation";
 
-  point_class->process       = gimp_operation_levels_process;
+  point_class->process         = gimp_operation_levels_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationposterize.c
==============================================================================
--- trunk/app/gegl/gimpoperationposterize.c	(original)
+++ trunk/app/gegl/gimpoperationposterize.c	Tue Feb 12 16:56:36 2008
@@ -51,12 +51,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-posterize";
+  operation_class->name        = "gimp-posterize";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Posterize operation";
 
-  point_class->process       = gimp_operation_posterize_process;
+  point_class->process         = gimp_operation_posterize_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationthreshold.c
==============================================================================
--- trunk/app/gegl/gimpoperationthreshold.c	(original)
+++ trunk/app/gegl/gimpoperationthreshold.c	Tue Feb 12 16:56:36 2008
@@ -50,12 +50,14 @@
   GeglOperationClass            *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointFilterClass *point_class     = GEGL_OPERATION_POINT_FILTER_CLASS (klass);
 
-  object_class->set_property = gimp_operation_point_filter_set_property;
-  object_class->get_property = gimp_operation_point_filter_get_property;
+  object_class->set_property   = gimp_operation_point_filter_set_property;
+  object_class->get_property   = gimp_operation_point_filter_get_property;
 
-  operation_class->name      = "gimp-threshold";
+  operation_class->name        = "gimp-threshold";
+  operation_class->categories  = "color";
+  operation_class->description = "GIMP Threshold operation";
 
-  point_class->process       = gimp_operation_threshold_process;
+  point_class->process         = gimp_operation_threshold_process;
 
   g_object_class_install_property (object_class,
                                    GIMP_OPERATION_POINT_FILTER_PROP_CONFIG,

Modified: trunk/app/gegl/gimpoperationtilesink.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesink.c	(original)
+++ trunk/app/gegl/gimpoperationtilesink.c	Tue Feb 12 16:56:36 2008
@@ -90,14 +90,16 @@
                   G_TYPE_NONE, 1,
                   G_TYPE_POINTER);
 
-  object_class->finalize     = gimp_operation_tile_sink_finalize;
-  object_class->set_property = gimp_operation_tile_sink_set_property;
-  object_class->get_property = gimp_operation_tile_sink_get_property;
+  object_class->finalize       = gimp_operation_tile_sink_finalize;
+  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";
+  operation_class->categories  = "output";
+  operation_class->description = "GIMP TileManager sink";
 
-  operation_class->name      = "gimp-tilemanager-sink";
-
-  sink_class->process        = gimp_operation_tile_sink_process;
-  sink_class->needs_full     = FALSE;
+  sink_class->process          = gimp_operation_tile_sink_process;
+  sink_class->needs_full       = FALSE;
 
 
   g_object_class_install_property (object_class, PROP_TILE_MANAGER,

Modified: trunk/app/gegl/gimpoperationtilesource.c
==============================================================================
--- trunk/app/gegl/gimpoperationtilesource.c	(original)
+++ trunk/app/gegl/gimpoperationtilesource.c	Tue Feb 12 16:56:36 2008
@@ -55,7 +55,7 @@
 
 static void     gimp_operation_tile_source_prepare      (GeglOperation *operation);
 static GeglRectangle
-          gimp_operation_tile_source_get_bounding_box   (GeglOperation *operation);
+            gimp_operation_tile_source_get_bounding_box (GeglOperation *operation);
 static gboolean gimp_operation_tile_source_process      (GeglOperation *operation,
                                                          GeglBuffer          *output,
                                                          const GeglRectangle *result);
@@ -79,6 +79,8 @@
   object_class->get_property          = gimp_operation_tile_source_get_property;
 
   operation_class->name               = "gimp-tilemanager-source";
+  operation_class->categories         = "input";
+  operation_class->description        = "GIMP TileManager source";
   operation_class->prepare            = gimp_operation_tile_source_prepare;
   operation_class->get_bounding_box   = gimp_operation_tile_source_get_bounding_box;
   operation_class->get_cached_region = NULL; /* the default source is



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]