diff --git a/ChangeLog b/ChangeLog index 04e2254210..fb019011c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-03 Sven Neumann + + * app/core/gimpimagemap.c: renamed GeglNode shift to translate. + Use "gegl:translate" instead of "gegl:shift". + 2008-12-02 Sven Neumann * plug-ins/common/file-desktop-link.c: use the G_KEY_FILE_DESKTOP diff --git a/app/core/gimpimagemap.c b/app/core/gimpimagemap.c index 327b989079..fb275f216f 100644 --- a/app/core/gimpimagemap.c +++ b/app/core/gimpimagemap.c @@ -74,7 +74,7 @@ struct _GimpImageMap GeglNode *gegl; GeglNode *input; - GeglNode *shift; + GeglNode *translate; GeglNode *operation; GeglNode *output; GeglProcessor *processor; @@ -217,10 +217,10 @@ gimp_image_map_finalize (GObject *object) 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 @@ gimp_image_map_apply (GimpImageMap *image_map, "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 @@ gimp_image_map_apply (GimpImageMap *image_map, * 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 @@ gimp_image_map_apply (GimpImageMap *image_map, NULL); gegl_node_link_many (image_map->input, - image_map->shift, + image_map->translate, over, image_map->output, NULL); @@ -528,7 +528,7 @@ gimp_image_map_apply (GimpImageMap *image_map, /* 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 @@ gimp_image_map_apply (GimpImageMap *image_map, "linear", TRUE, NULL); - gegl_node_set (image_map->shift, + gegl_node_set (image_map->translate, "x", (gdouble) rect.x, "y", (gdouble) rect.y, NULL);