summaryrefslogtreecommitdiff
path: root/gtk/gtkcssnodedeclarationprivate.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-01-03 14:02:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2016-01-03 14:41:43 -0500
commit0c52eca34cd1edeb51b930f756652e359ed6ee10 (patch)
tree36b7b7bf7527610188979b184d202e860c96f08a /gtk/gtkcssnodedeclarationprivate.h
parent28e185dd1b8b5fcf90993e9d698110328c1d497d (diff)
downloadgtk+-0c52eca34cd1edeb51b930f756652e359ed6ee10.tar.gz
Move node printing to GtkCssNodeDeclaration
The node declaration has all the information we are printing here (except for visibility). At the same time, redo the format to print the information in selector format, and indicate (in)visibility by enclosing the selector in square brackets.
Diffstat (limited to 'gtk/gtkcssnodedeclarationprivate.h')
-rw-r--r--gtk/gtkcssnodedeclarationprivate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkcssnodedeclarationprivate.h b/gtk/gtkcssnodedeclarationprivate.h
index a72111ab37..7760da17fb 100644
--- a/gtk/gtkcssnodedeclarationprivate.h
+++ b/gtk/gtkcssnodedeclarationprivate.h
@@ -72,6 +72,10 @@ gboolean gtk_css_node_declaration_equal (gconstp
void gtk_css_node_declaration_add_to_widget_path (const GtkCssNodeDeclaration *decl,
GtkWidgetPath *path,
guint pos);
+
+void gtk_css_node_declaration_print (const GtkCssNodeDeclaration *decl,
+ GString *string);
+
G_END_DECLS
#endif /* __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ */