From 3e7f74c456996bb760031d3b66d5fd6c8665d2a9 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 23 May 2011 07:16:17 +0200 Subject: 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. --- gtk/gtkstylepropertyprivate.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/gtkstylepropertyprivate.h') 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 -- cgit v1.2.1