[gegl] gegl: use the canonicalized names in gegl_operation_meta_redirect()



commit c54654a600c75bad019c12b4251e08f6f6cc9923
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jun 2 23:39:14 2013 +0200

    gegl: use the canonicalized names in gegl_operation_meta_redirect()
    
    Makes no difference but is cleaner.

 gegl/operation/gegl-operation-meta.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gegl/operation/gegl-operation-meta.c b/gegl/operation/gegl-operation-meta.c
index cde2161..d8e1c84 100644
--- a/gegl/operation/gegl-operation-meta.c
+++ b/gegl/operation/gegl-operation-meta.c
@@ -182,8 +182,10 @@ gegl_operation_meta_redirect (GeglOperation *operation,
   self->redirects = g_slist_prepend (self->redirects, redirect);
 
   /* set default value */
-  gegl_node_copy_property_property (G_OBJECT (operation), name,
-                                    G_OBJECT (internal->operation), internal_name);
+  gegl_node_copy_property_property (G_OBJECT (operation),
+                                    redirect->name,
+                                    G_OBJECT (internal->operation),
+                                    redirect->internal_name);
 }
 
 void


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