diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2010-11-17 02:42:27 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2010-12-04 15:39:13 +0100 |
commit | c9dc09e980d26844d72bf740ddffc1a5530f2627 (patch) | |
tree | 141d72501d72ac4c6ed59e51e8484d8710db2f49 /gtk/gtkstyleprovider.h | |
parent | b613f1f1f288d9e24ca8830834e6bc533a3e3727 (diff) | |
download | gtk+-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.h | 4 |
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, |