fix(pixbuf): possibly fix core dump

Not really sure, would need to investigate a bit more.
This commit is contained in:
Jeremy Attali 2020-06-17 00:01:53 -04:00
parent 7a9be5d2a6
commit 8a82e796bb

View File

@ -51,7 +51,7 @@ void pixbuf_save_to_stdout(GdkPixbuf *pixbuf) {
out = g_unix_output_stream_new(STDOUT_FILENO, TRUE);
gdk_pixbuf_save_to_stream(pixbuf, out, "png", NULL, &error);
gdk_pixbuf_save_to_stream(pixbuf, out, "png", NULL, &error, NULL);
if (error != NULL) {
g_warning("unable to save surface to stdout: %s", error->message);