[gegl] do not store default color in property-key metadata



commit 5c808b599967e6efaf68a19790ede1407ea64113
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 16 00:50:01 2014 +0200

    do not store default color in property-key metadata

 gegl/property-types/gegl-paramspecs.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gegl/property-types/gegl-paramspecs.c b/gegl/property-types/gegl-paramspecs.c
index 231b1da..06130bf 100644
--- a/gegl/property-types/gegl-paramspecs.c
+++ b/gegl/property-types/gegl-paramspecs.c
@@ -1276,7 +1276,6 @@ gegl_param_spec_color_from_vararg (const char *name, ...)
     if (g_str_equal (key, "default"))
     {
       default_value = va_arg (var_args, const gchar *);
-      g_hash_table_insert (ht, g_strdup (key), g_strdup (default_value));
     }
     else if (g_str_equal (key, "blurb"))
       blurb = va_arg (var_args, const gchar *);


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