gimp r27749 - in trunk: . app/core



Author: neo
Date: Wed Dec  3 11:29:15 2008
New Revision: 27749
URL: http://svn.gnome.org/viewvc/gimp?rev=27749&view=rev

Log:
2008-12-03  Sven Neumann  <sven gimp org>

	* app/core/gimpimagemap.c: renamed GeglNode shift to translate.
	Use "gegl:translate" instead of "gegl:shift".



Modified:
   trunk/ChangeLog
   trunk/app/core/gimpimagemap.c

Modified: trunk/app/core/gimpimagemap.c
==============================================================================
--- trunk/app/core/gimpimagemap.c	(original)
+++ trunk/app/core/gimpimagemap.c	Wed Dec  3 11:29:15 2008
@@ -74,7 +74,7 @@
 
   GeglNode              *gegl;
   GeglNode              *input;
-  GeglNode              *shift;
+  GeglNode              *translate;
   GeglNode              *operation;
   GeglNode              *output;
   GeglProcessor         *processor;
@@ -217,10 +217,10 @@
   if (image_map->gegl)
     {
       g_object_unref (image_map->gegl);
-      image_map->gegl = NULL;
-      image_map->input = NULL;
-      image_map->shift = NULL;
-      image_map->output = NULL;
+      image_map->gegl      = NULL;
+      image_map->input     = NULL;
+      image_map->translate = NULL;
+      image_map->output    = NULL;
     }
 
   if (image_map->operation)
@@ -466,9 +466,9 @@
                                  "operation", "gimp:tilemanager-source",
                                  NULL);
 
-          image_map->shift =
+          image_map->translate =
             gegl_node_new_child (image_map->gegl,
-                                 "operation", "gegl:shift",
+                                 "operation", "gegl:translate",
                                  NULL);
 
           gegl_node_add_child (image_map->gegl, image_map->operation);
@@ -499,7 +499,7 @@
                *  filter OP, connect it on both ends.
                */
               gegl_node_link_many (image_map->input,
-                                   image_map->shift,
+                                   image_map->translate,
                                    image_map->operation,
                                    image_map->output,
                                    NULL);
@@ -515,7 +515,7 @@
                                                     NULL);
 
               gegl_node_link_many (image_map->input,
-                                   image_map->shift,
+                                   image_map->translate,
                                    over,
                                    image_map->output,
                                    NULL);
@@ -528,7 +528,7 @@
               /* otherwise we just construct a silly nop pipleline
                */
               gegl_node_link_many (image_map->input,
-                                   image_map->shift,
+                                   image_map->translate,
                                    image_map->output,
                                    NULL);
             }
@@ -539,7 +539,7 @@
                      "linear",       TRUE,
                      NULL);
 
-      gegl_node_set (image_map->shift,
+      gegl_node_set (image_map->translate,
                      "x", (gdouble) rect.x,
                      "y", (gdouble) rect.y,
                      NULL);



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