mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-21 14:24:19 +00:00
cssnodedeclaration: Add gtk_css_node_declaration_to_string
This commit is contained in:
parent
7e8f2f6178
commit
a22ef67b17
@ -478,3 +478,13 @@ gtk_css_node_declaration_print (const GtkCssNodeDeclaration *decl,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *
|
||||||
|
gtk_css_node_declaration_to_string (const GtkCssNodeDeclaration *decl)
|
||||||
|
{
|
||||||
|
GString *s = g_string_new (NULL);
|
||||||
|
|
||||||
|
gtk_css_node_declaration_print (decl, s);
|
||||||
|
|
||||||
|
return g_string_free (s, FALSE);
|
||||||
|
}
|
||||||
|
@ -62,6 +62,8 @@ void gtk_css_node_declaration_add_to_widget_path (const G
|
|||||||
void gtk_css_node_declaration_print (const GtkCssNodeDeclaration *decl,
|
void gtk_css_node_declaration_print (const GtkCssNodeDeclaration *decl,
|
||||||
GString *string);
|
GString *string);
|
||||||
|
|
||||||
|
char * gtk_css_node_declaration_to_string (const GtkCssNodeDeclaration *decl);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ */
|
#endif /* __GTK_CSS_NODE_DECLARATION_PRIVATE_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user