diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-17 02:36:11 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:07 +0200 |
commit | a94b85d37592cb9119216cd9f4820e27edfe5e15 (patch) | |
tree | 47ad100f777ac9f52fe977eb3f5264e173f1ad82 /gtk/gtkstyleproperties.c | |
parent | c0b7c3321d15daf05a26818745367051300ac176 (diff) | |
download | gtk+-a94b85d37592cb9119216cd9f4820e27edfe5e15.tar.gz |
css: Make the style provider take a matcher as an input argument
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r-- | gtk/gtkstyleproperties.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index e73e74b6ac..5add14dfc2 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -303,8 +303,7 @@ gtk_style_properties_provider_get_color (GtkStyleProviderPrivate *provider, static void gtk_style_properties_provider_lookup (GtkStyleProviderPrivate *provider, - GtkWidgetPath *path, - GtkStateFlags state, + const GtkCssMatcher *matcher, GtkCssLookup *lookup) { GtkStyleProperties *props; @@ -330,7 +329,7 @@ gtk_style_properties_provider_lookup (GtkStyleProviderPrivate *provider, if (!_gtk_css_lookup_is_missing (lookup, id)) continue; - value = property_data_match_state (data, state); + value = property_data_match_state (data, _gtk_css_matcher_get_state (matcher)); if (value == NULL) continue; |