diff options
author | Benjamin Otte <otte@redhat.com> | 2011-05-26 01:01:44 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-06-02 02:03:50 +0200 |
commit | 5a42464547a06a080f532044a35683f82fe67f2e (patch) | |
tree | ad067982404e0518af8d01f4e5d5fb0e459d875a /gtk/gtkstylepropertyprivate.h | |
parent | 35488f58461d53a92992cfeff686e5a2c972500d (diff) | |
download | gtk+-5a42464547a06a080f532044a35683f82fe67f2e.tar.gz |
css: Rename function to _gtk_style_property_parse_value()
... and take an optional style property as argument. This way, we can
allow custom parse functions for properties. The style property needs to
be optional so that we can use it for widget style properties, too.
Diffstat (limited to 'gtk/gtkstylepropertyprivate.h')
-rw-r--r-- | gtk/gtkstylepropertyprivate.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h index ba9fd3f4b3..2fa772be3f 100644 --- a/gtk/gtkstylepropertyprivate.h +++ b/gtk/gtkstylepropertyprivate.h @@ -56,9 +56,10 @@ void _gtk_style_property_pack (const GtkStyleProper GtkStateFlags state, GValue *value); -gboolean _gtk_css_value_parse (GValue *value, - GtkCssParser *parser, - GFile *base); +gboolean _gtk_style_property_parse_value (const GtkStyleProperty *property, + GValue *value, + GtkCssParser *parser, + GFile *base); void _gtk_style_property_print_value (const GtkStyleProperty *property, const GValue *value, GString *string); |