forked from AuroraMiddleware/gtk
cssprovider: Actually match the state for style properties
Copy/paste error when refactoring. Caught by stylecontext test.
This commit is contained in:
parent
12846d821c
commit
6c63842e68
@ -1527,7 +1527,7 @@ gtk_css_provider_get_style_property (GtkStyleProvider *provider,
|
||||
prop_name = g_strdup_printf ("-%s-%s",
|
||||
g_type_name (pspec->owner_type),
|
||||
pspec->name);
|
||||
_gtk_css_matcher_init (&matcher, path, 0);
|
||||
_gtk_css_matcher_init (&matcher, path, state);
|
||||
|
||||
for (i = priv->rulesets->len - 1; i >= 0; i--)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user