]> Pileus Git - ~andy/gtk/commitdiff
styleproperty: An unnamed engine equals the default engine
authorBenjamin Otte <otte@redhat.com>
Wed, 20 Jul 2011 10:31:44 +0000 (12:31 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 21 Jul 2011 00:43:54 +0000 (02:43 +0200)
gtk/gtkstyleproperty.c

index 510336be12af6d5fad45c68febbe53a0a932c80b..9b25c2659b505db2b672f94e02c59e40635c708a 100644 (file)
@@ -523,7 +523,7 @@ theming_engine_value_print (const GValue *value,
     {
       /* XXX: gtk_theming_engine_get_name()? */
       g_object_get (engine, "name", &name, NULL);
-      g_string_append (string, name);
+      g_string_append (string, name ? name : "none");
       g_free (name);
     }
 }