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/gtkcssmatcher.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/gtkcssmatcher.c')
-rw-r--r-- | gtk/gtkcssmatcher.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkcssmatcher.c b/gtk/gtkcssmatcher.c index 583b80301e..c12403ecd8 100644 --- a/gtk/gtkcssmatcher.c +++ b/gtk/gtkcssmatcher.c @@ -62,11 +62,10 @@ _gtk_css_matcher_get_previous (GtkCssMatcher *matcher, return TRUE; } -gboolean -_gtk_css_matcher_has_state (const GtkCssMatcher *matcher, - GtkStateFlags state_flags) +GtkStateFlags +_gtk_css_matcher_get_state (const GtkCssMatcher *matcher) { - return (matcher->state_flags & state_flags) == state_flags; + return matcher->state_flags; } gboolean |