summaryrefslogtreecommitdiff
path: root/gtk/gtkstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-05-26 01:01:44 +0200
committerBenjamin Otte <otte@redhat.com>2011-06-02 02:03:50 +0200
commit5a42464547a06a080f532044a35683f82fe67f2e (patch)
treead067982404e0518af8d01f4e5d5fb0e459d875a /gtk/gtkstylepropertyprivate.h
parent35488f58461d53a92992cfeff686e5a2c972500d (diff)
downloadgtk+-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.h7
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);