[gegl] operations: Make transform ops set their name w/ gegl_operation_class_set_key ()



commit 2c907efc7177d6d0dcf79d537b47883432793db2
Author: Michael Henning <drawoc darkrefraction com>
Date:   Tue Jul 30 19:31:35 2013 -0400

    operations: Make transform ops set their name w/ gegl_operation_class_set_key ()

 operations/transform/chant.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/transform/chant.h b/operations/transform/chant.h
index d343e24..edfaae2 100644
--- a/operations/transform/chant.h
+++ b/operations/transform/chant.h
@@ -191,7 +191,7 @@ gegl_chant_class_init (ChantClass * klass)
   parent_class->create_matrix = create_matrix;
 
 #define M_GEGL_CHANT_SET_NAME_EXTENDED(nam) \
-  operation_class->name=g_strdup(nam);
+  gegl_operation_class_set_key (operation_class, "name", nam);
 #define M_GEGL_CHANT_SET_NAME(name)   M_GEGL_CHANT_SET_NAME_EXTENDED(name)
   M_GEGL_CHANT_SET_NAME (GEGL_CHANT_OPERATION_NAME);
 


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