forked from AuroraMiddleware/gtk
cssprovider: Use right hash table when printing
If the CSS provider had widget style properties, printing them would
crash since 82b340f6f0
This commit is contained in:
parent
97a8ff80cc
commit
7836df29cb
@ -3004,7 +3004,7 @@ gtk_css_ruleset_print (const GtkCssRuleset *ruleset,
|
||||
for (walk = keys; walk; walk = walk->next)
|
||||
{
|
||||
const char *name = walk->data;
|
||||
const GValue *value = g_hash_table_lookup (ruleset->style, (gpointer) name);
|
||||
const GValue *value = g_hash_table_lookup (ruleset->widget_style, (gpointer) name);
|
||||
|
||||
g_string_append (str, " ");
|
||||
g_string_append (str, name);
|
||||
|
Loading…
Reference in New Issue
Block a user