summaryrefslogtreecommitdiff
path: root/gsk/gskrendernode.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2016-12-23 05:58:07 +0100
committerBenjamin Otte <otte@redhat.com>2016-12-23 08:11:01 +0100
commit5e089c43453e34432f6c9e47b2d064129f391a56 (patch)
treeb470cda5963d1b7d34ab8a8dc52c60df98d2f437 /gsk/gskrendernode.h
parent087ea8e531e14d6ac3bb3a8763352ca5641b676a (diff)
downloadgtk+-5e089c43453e34432f6c9e47b2d064129f391a56.tar.gz
gsk: Add gsk_render_node_write_to_file()
For when you're in a debugger and need to have a closer look at this node...
Diffstat (limited to 'gsk/gskrendernode.h')
-rw-r--r--gsk/gskrendernode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gsk/gskrendernode.h b/gsk/gskrendernode.h
index 650ac9bcfb..f36cafc29b 100644
--- a/gsk/gskrendernode.h
+++ b/gsk/gskrendernode.h
@@ -177,6 +177,10 @@ void gsk_render_node_draw (GskRenderNode *
GDK_AVAILABLE_IN_3_90
GBytes * gsk_render_node_serialize (GskRenderNode *node);
GDK_AVAILABLE_IN_3_90
+gboolean gsk_render_node_write_to_file (GskRenderNode *node,
+ const char *filename,
+ GError **error);
+GDK_AVAILABLE_IN_3_90
GskRenderNode * gsk_render_node_deserialize (GBytes *bytes);
G_END_DECLS