mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-18 09:00:34 +00:00
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",
|
prop_name = g_strdup_printf ("-%s-%s",
|
||||||
g_type_name (pspec->owner_type),
|
g_type_name (pspec->owner_type),
|
||||||
pspec->name);
|
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--)
|
for (i = priv->rulesets->len - 1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user