summaryrefslogtreecommitdiff
path: root/gtk/gtkcsssectionprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-09-27 15:10:52 +0200
committerBenjamin Otte <otte@redhat.com>2012-09-28 18:27:49 +0200
commit5e1ae36b2f65ef3f2715001ba59842469ed5308a (patch)
tree7d2c579165f03164e1ae1d9e4fd6127736867bdc /gtk/gtkcsssectionprivate.h
parent8f96966178dd14d1d625df991d2bdf85e431dfa3 (diff)
downloadgtk+-5e1ae36b2f65ef3f2715001ba59842469ed5308a.tar.gz
section: Add _gtk_css_section_to_string()
Mostly for debugging pruposes, but use it for printing CSS errors in GtkCssProvider, too.
Diffstat (limited to 'gtk/gtkcsssectionprivate.h')
-rw-r--r--gtk/gtkcsssectionprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcsssectionprivate.h b/gtk/gtkcsssectionprivate.h
index 12c13aaba0..d59188e8db 100644
--- a/gtk/gtkcsssectionprivate.h
+++ b/gtk/gtkcsssectionprivate.h
@@ -32,6 +32,10 @@ GtkCssSection * _gtk_css_section_new_for_file (GtkCssSectionType ty
void _gtk_css_section_end (GtkCssSection *section);
+void _gtk_css_section_print (const GtkCssSection *section,
+ GString *string);
+char * _gtk_css_section_to_string (const GtkCssSection *section);
+
G_END_DECLS
#endif /* __GTK_CSS_SECTION_PRIVATE_H__ */