summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleproviderprivate.h
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/gtkstyleproviderprivate.h
parentc0b7c3321d15daf05a26818745367051300ac176 (diff)
downloadgtk+-a94b85d37592cb9119216cd9f4820e27edfe5e15.tar.gz
css: Make the style provider take a matcher as an input argument
Diffstat (limited to 'gtk/gtkstyleproviderprivate.h')
-rw-r--r--gtk/gtkstyleproviderprivate.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk/gtkstyleproviderprivate.h b/gtk/gtkstyleproviderprivate.h
index ac7ac3d806..e0555026c6 100644
--- a/gtk/gtkstyleproviderprivate.h
+++ b/gtk/gtkstyleproviderprivate.h
@@ -20,6 +20,7 @@
#include <glib-object.h>
#include "gtk/gtkcsslookupprivate.h"
+#include "gtk/gtkcssmatcherprivate.h"
#include <gtk/gtkenums.h>
#include <gtk/gtksymboliccolor.h>
#include <gtk/gtktypes.h>
@@ -41,8 +42,7 @@ struct _GtkStyleProviderPrivateInterface
GtkSymbolicColor * (* get_color) (GtkStyleProviderPrivate *provider,
const char *name);
void (* lookup) (GtkStyleProviderPrivate *provider,
- GtkWidgetPath *path,
- GtkStateFlags state,
+ const GtkCssMatcher *matcher,
GtkCssLookup *lookup);
};
@@ -51,8 +51,7 @@ GType _gtk_style_provider_private_get_type (void) G_GNUC_C
GtkSymbolicColor * _gtk_style_provider_private_get_color (GtkStyleProviderPrivate *provider,
const char *name);
void _gtk_style_provider_private_lookup (GtkStyleProviderPrivate *provider,
- GtkWidgetPath *path,
- GtkStateFlags state,
+ const GtkCssMatcher *matcher,
GtkCssLookup *lookup);
G_END_DECLS