gimp r27408 - in trunk: . app/core app/gegl



Author: martinn
Date: Sat Oct 25 21:02:46 2008
New Revision: 27408
URL: http://svn.gnome.org/viewvc/gimp?rev=27408&view=rev

Log:
* app/gegl/gimpoperationpointlayermode.c: Completed the rename
with gimp:layer-mode -> gimp:point-layer-mode and also did some
formating.

* app/core/gimplayer.c: Changed accordingly.


Modified:
   trunk/ChangeLog
   trunk/app/core/gimplayer.c
   trunk/app/gegl/gimpoperationpointlayermode.c

Modified: trunk/app/core/gimplayer.c
==============================================================================
--- trunk/app/core/gimplayer.c	(original)
+++ trunk/app/core/gimplayer.c	Sat Oct 25 21:02:46 2008
@@ -561,7 +561,7 @@
   mode_node = gimp_drawable_get_mode_node (drawable);
 
   gegl_node_set (mode_node,
-                 "operation",  "gimp:layer-mode",
+                 "operation",  "gimp:point-layer-mode",
                  "blend-mode", layer->mode,
                  NULL);
 
@@ -2036,7 +2036,7 @@
           mode_node = gimp_drawable_get_mode_node (GIMP_DRAWABLE (layer));
 
           gegl_node_set (mode_node,
-                         "operation",  "gimp:layer-mode",
+                         "operation",  "gimp:point-layer-mode",
                          "blend-mode", layer->mode,
                          NULL);
         }

Modified: trunk/app/gegl/gimpoperationpointlayermode.c
==============================================================================
--- trunk/app/gegl/gimpoperationpointlayermode.c	(original)
+++ trunk/app/gegl/gimpoperationpointlayermode.c	Sat Oct 25 21:02:46 2008
@@ -78,16 +78,16 @@
   GeglOperationClass              *operation_class = GEGL_OPERATION_CLASS (klass);
   GeglOperationPointComposerClass *point_class     = GEGL_OPERATION_POINT_COMPOSER_CLASS (klass);
 
-  object_class->set_property  = gimp_operation_point_layer_mode_set_property;
-  object_class->get_property  = gimp_operation_point_layer_mode_get_property;
+  object_class->set_property   = gimp_operation_point_layer_mode_set_property;
+  object_class->get_property   = gimp_operation_point_layer_mode_get_property;
 
-  operation_class->name        = "gimp:layer-mode";
-  operation_class->description = "GIMP layer mode operation";
+  operation_class->name        = "gimp:point-layer-mode";
+  operation_class->description = "GIMP point layer mode operation";
   operation_class->categories  = "compositors";
 
-  operation_class->prepare    = gimp_operation_point_layer_mode_prepare;
+  operation_class->prepare     = gimp_operation_point_layer_mode_prepare;
 
-  point_class->process        = gimp_operation_point_layer_mode_process;
+  point_class->process         = gimp_operation_point_layer_mode_process;
 
   g_object_class_install_property (object_class, PROP_BLEND_MODE,
                                    g_param_spec_enum ("blend-mode", NULL, NULL,
@@ -103,9 +103,9 @@
 
 static void
 gimp_operation_point_layer_mode_set_property (GObject      *object,
-                                        guint         property_id,
-                                        const GValue *value,
-                                        GParamSpec   *pspec)
+                                              guint         property_id,
+                                              const GValue *value,
+                                              GParamSpec   *pspec)
 {
   GimpOperationPointLayerMode *self = GIMP_OPERATION_POINT_LAYER_MODE (object);
 
@@ -123,9 +123,9 @@
 
 static void
 gimp_operation_point_layer_mode_get_property (GObject    *object,
-                                        guint       property_id,
-                                        GValue     *value,
-                                        GParamSpec *pspec)
+                                              guint       property_id,
+                                              GValue     *value,
+                                              GParamSpec *pspec)
 {
   GimpOperationPointLayerMode *self = GIMP_OPERATION_POINT_LAYER_MODE (object);
 
@@ -153,11 +153,11 @@
 
 static gboolean
 gimp_operation_point_layer_mode_process (GeglOperation       *operation,
-                                   void                *in_buf,
-                                   void                *aux_buf,
-                                   void                *out_buf,
-                                   glong                samples,
-                                   const GeglRectangle *roi)
+                                         void                *in_buf,
+                                         void                *aux_buf,
+                                         void                *out_buf,
+                                         glong                samples,
+                                         const GeglRectangle *roi)
 {
   GimpOperationPointLayerMode *self = GIMP_OPERATION_POINT_LAYER_MODE (operation);
 



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