summaryrefslogtreecommitdiff
path: root/gdk/gdktexture.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-12 13:50:33 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-12 14:02:59 +0200
commit770866f265a0dfc03a0ee1bb705e758e76749c8c (patch)
tree2823a11ff123599e879e1fa6f962d33791d8dfb7 /gdk/gdktexture.h
parent39d930c065da341999db5e7428c00b7ef5780c0d (diff)
downloadgtk+-770866f265a0dfc03a0ee1bb705e758e76749c8c.tar.gz
texture: Add gdk_texture_save_to_png()
It's needed for debugging Timm's code, so better have it here than hidden in my random-patch vault.
Diffstat (limited to 'gdk/gdktexture.h')
-rw-r--r--gdk/gdktexture.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdktexture.h b/gdk/gdktexture.h
index 67c14e1538..be43990a9f 100644
--- a/gdk/gdktexture.h
+++ b/gdk/gdktexture.h
@@ -59,6 +59,9 @@ GDK_AVAILABLE_IN_ALL
void gdk_texture_download (GdkTexture *texture,
guchar *data,
gsize stride);
+GDK_AVAILABLE_IN_ALL
+gboolean gdk_texture_save_to_png (GdkTexture *texture,
+ const char *filename);
G_END_DECLS