diff options
author | Jiří Techet <techet@gmail.com> | 2016-09-29 23:34:07 +0200 |
---|---|---|
committer | Jiří Techet <techet@gmail.com> | 2016-09-29 23:34:07 +0200 |
commit | d682bea291049422427fc8fb961d6b721787bd94 (patch) | |
tree | 4f050f13b52785ec8c98b5cd4068d636dcb3f2e6 /demos | |
parent | e1f6e591ca752f20bb29cbe46b7f2e4e41468a56 (diff) | |
download | libchamplain-d682bea291049422427fc8fb961d6b721787bd94.tar.gz |
launcher-gtk: Add missing NULL at the end of gdk_pixbuf_save_to_stream()
gdk_pixbuf_save_to_stream() is a vararg function whose vararg parameters
have to be NULL-terminated.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/launcher-gtk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/launcher-gtk.c b/demos/launcher-gtk.c index 70975b4..450f999 100644 --- a/demos/launcher-gtk.c +++ b/demos/launcher-gtk.c @@ -253,7 +253,7 @@ export_png (GtkButton *button, return; } - gdk_pixbuf_save_to_stream (pixbuf, G_OUTPUT_STREAM (os), "png", NULL, NULL); + gdk_pixbuf_save_to_stream (pixbuf, G_OUTPUT_STREAM (os), "png", NULL, NULL, NULL); g_output_stream_close (G_OUTPUT_STREAM (os), NULL, NULL); } |