summaryrefslogtreecommitdiff
path: root/gtk/gtkstyleprovider.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-11-17 02:42:27 +0100
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:39:13 +0100
commitc9dc09e980d26844d72bf740ddffc1a5530f2627 (patch)
tree141d72501d72ac4c6ed59e51e8484d8710db2f49 /gtk/gtkstyleprovider.h
parentb613f1f1f288d9e24ca8830834e6bc533a3e3727 (diff)
downloadgtk+-c9dc09e980d26844d72bf740ddffc1a5530f2627.tar.gz
GtkStyleProvider: Pass a GParamSpec in get_style_property().
This is so we can know the owner type of the property, and matching with the stored strings in GtkCssProvider is direct.
Diffstat (limited to 'gtk/gtkstyleprovider.h')
-rw-r--r--gtk/gtkstyleprovider.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstyleprovider.h b/gtk/gtkstyleprovider.h
index 9e67a3286d..e901a20fbf 100644
--- a/gtk/gtkstyleprovider.h
+++ b/gtk/gtkstyleprovider.h
@@ -57,7 +57,7 @@ struct _GtkStyleProviderIface
gboolean (* get_style_property) (GtkStyleProvider *provider,
GtkWidgetPath *path,
- const gchar *property_name,
+ GParamSpec *pspec,
GValue *value);
GtkIconFactory * (* get_icon_factory) (GtkStyleProvider *provider,
@@ -71,7 +71,7 @@ GtkStyleProperties *gtk_style_provider_get_style (GtkStyleProvider *provider,
gboolean gtk_style_provider_get_style_property (GtkStyleProvider *provider,
GtkWidgetPath *path,
- const gchar *property_name,
+ GParamSpec *pspec,
GValue *value);
GtkIconFactory * gtk_style_provider_get_icon_factory (GtkStyleProvider *provider,