]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: Fix Pixbuf.save_to_stream_async()
authorFlorian Brosch <flo.brosch@gmail.com>
Sun, 20 Oct 2013 15:19:35 +0000 (17:19 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Mar 2017 13:21:08 +0000 (14:21 +0100)
vapi/gdk-pixbuf-2.0.vapi
vapi/metadata/GdkPixbuf-2.0.metadata

index 4f47f534c956e89c6570b5ec6650ead1a84b49e5..d9387d3612b7d25f5344e0632bc2d8bd2b33df6f 100644 (file)
@@ -107,7 +107,7 @@ namespace Gdk {
                public bool save_to_callbackv ([CCode (delegate_target_pos = 1.5)] Gdk.PixbufSaveFunc save_func, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values) throws GLib.Error;
                [Version (since = "2.14")]
                public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
-               [CCode (finish_name = "gdk_pixbuf_save_to_stream_finish")]
+               [CCode (finish_instance = false, finish_name = "gdk_pixbuf_save_to_stream_finish", sentinel = "NULL")]
                [Version (since = "2.24")]
                public async void save_to_stream_async (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
                [Version (since = "2.36")]
index 003ddaebbac37357ab04550e5508863b5e739ebb..633f6a22a7b865743bab9f2838aac7f6069d42a1 100644 (file)
@@ -17,7 +17,7 @@ Pixbuf
         .save_to_callback.error skip
         .save_to_stream throws throws="GLib.Error"
         .save_to_stream.error skip
-        .save_to_stream_async finish_name="gdk_pixbuf_save_to_stream_finish" throws="GLib.Error"
+        .save_to_stream_async finish_name="gdk_pixbuf_save_to_stream_finish" finish_instance=false sentinel="NULL" throws="GLib.Error"
         .save_to_stream_finish skip
 
 // gdk-pixdata.h isn't included by gdk-pixbuf.h