summaryrefslogtreecommitdiff
path: root/gtk/gtkcssmatcher.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-03-17 02:36:11 +0100
committerBenjamin Otte <otte@redhat.com>2012-04-17 08:59:07 +0200
commita94b85d37592cb9119216cd9f4820e27edfe5e15 (patch)
tree47ad100f777ac9f52fe977eb3f5264e173f1ad82 /gtk/gtkcssmatcher.c
parentc0b7c3321d15daf05a26818745367051300ac176 (diff)
downloadgtk+-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.c7
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