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:
Benjamin Otte 2011-05-23 07:01:14 +02:00
parent 97a8ff80cc
commit 7836df29cb

View File

@ -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);