styleproperty: An unnamed engine equals the default engine

This commit is contained in:
Benjamin Otte 2011-07-20 12:31:44 +02:00
parent d314709af6
commit 9e36bea907

View 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);
}
}