Commit 7836df29 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

cssprovider: Use right hash table when printing

If the CSS provider had widget style properties, printing them would
crash since 82b340f6
parent 97a8ff80
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment