In line with all the other _to_string() implementations
klass->print (image, string);
}
+char *
+gtk_css_image_to_string (GtkCssImage *image)
+{
+ GString *str = g_string_new ("");
+
+ _gtk_css_image_print (image, str);
+
+ return g_string_free (str, FALSE);
+}
+
+
/* Applies the algorithm outlined in
* http://dev.w3.org/csswg/css3-images/#default-sizing
*/
gint64 monotonic_time);
void _gtk_css_image_print (GtkCssImage *image,
GString *string);
+char * gtk_css_image_to_string (GtkCssImage *image);
void _gtk_css_image_get_concrete_size (GtkCssImage *image,
double specified_width,