summaryrefslogtreecommitdiff
path: root/gtk/gtkcssprovider.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-04-06 22:03:35 +0200
committerBenjamin Otte <otte@redhat.com>2011-05-18 21:58:43 +0200
commitb1556abe045b8b46d1938f9837381528e48bf332 (patch)
treeb6561d023184804ea0169ba6fbc5711c55e9bb84 /gtk/gtkcssprovider.h
parent8b6f92d08720f1fcbcb4a061db4c21212aaa185f (diff)
downloadgtk+-b1556abe045b8b46d1938f9837381528e48bf332.tar.gz
API: gtk: Add gtk_css_provider_to_string()
This is intented to convert the contents of a CSS provider back to a string. It is not complete yet but good enough for starting a testsuite. :)
Diffstat (limited to 'gtk/gtkcssprovider.h')
-rw-r--r--gtk/gtkcssprovider.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index add2affd9a..4943393ffb 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -65,6 +65,8 @@ GType gtk_css_provider_get_type (void) G_GNUC_CONST;
GtkCssProvider * gtk_css_provider_new (void);
+char * gtk_css_provider_to_string (GtkCssProvider *provider);
+
gboolean gtk_css_provider_load_from_data (GtkCssProvider *css_provider,
const gchar *data,
gssize length,