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



commit 5c6b57540794dc1eaf2768ae5f8788e8bff83d19
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]