diff options
author | Benjamin Otte <otte@redhat.com> | 2012-03-17 21:09:51 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:08 +0200 |
commit | 8dbe8c83491c5877c9b19928f257ec7a671cb45e (patch) | |
tree | 937880e83a99ab80678f76492b3997038acb7725 /gtk/gtkstyleproperties.c | |
parent | b0b6c8ad4b9120bdc30d2fd81d572dfb060f4ed1 (diff) | |
download | gtk+-8dbe8c83491c5877c9b19928f257ec7a671cb45e.tar.gz |
syleprovider: Add a vfunc to get the changes
This way we can check what changes are even interesting for our matcher.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r-- | gtk/gtkstyleproperties.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index 5add14dfc2..d63b659dde 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -337,11 +337,19 @@ gtk_style_properties_provider_lookup (GtkStyleProviderPrivate *provider, } } +static GtkCssChange +gtk_style_properties_provider_get_change (GtkStyleProviderPrivate *provider, + const GtkCssMatcher *matcher) +{ + return GTK_CSS_CHANGE_STATE; +} + static void gtk_style_properties_provider_private_init (GtkStyleProviderPrivateInterface *iface) { iface->get_color = gtk_style_properties_provider_get_color; iface->lookup = gtk_style_properties_provider_lookup; + iface->get_change = gtk_style_properties_provider_get_change; } /* GtkStyleProperties methods */ |