summaryrefslogtreecommitdiff
path: root/gtk/gtkstylepropertyprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-05-23 07:16:17 +0200
committerBenjamin Otte <otte@redhat.com>2011-06-02 02:03:50 +0200
commit3e7f74c456996bb760031d3b66d5fd6c8665d2a9 (patch)
tree215f37d31fa1e9d98d175f62f03d408ac280c44c /gtk/gtkstylepropertyprivate.h
parent02a9cb5bc0862a176f6ae2fe114cfeecfb9a44b0 (diff)
downloadgtk+-3e7f74c456996bb760031d3b66d5fd6c8665d2a9.tar.gz
styleproperty: Change _css_value_to_string()
Name it _gtk_style_property_print_value() and actually pass it the style property. This way, we can later change it to use custom print functions for different style properties.
Diffstat (limited to 'gtk/gtkstylepropertyprivate.h')
-rw-r--r--gtk/gtkstylepropertyprivate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkstylepropertyprivate.h b/gtk/gtkstylepropertyprivate.h
index a1d222ecf5..8ffe0adf8b 100644
--- a/gtk/gtkstylepropertyprivate.h
+++ b/gtk/gtkstylepropertyprivate.h
@@ -59,7 +59,9 @@ void _gtk_style_property_pack (const GtkStyleProper
gboolean _gtk_css_value_parse (GValue *value,
GtkCssParser *parser,
GFile *base);
-char * _gtk_css_value_to_string (const GValue *value);
+void _gtk_style_property_print_value (const GtkStyleProperty *property,
+ const GValue *value,
+ GString *string);
G_END_DECLS