From: Rico Tzschichholz Date: Sat, 30 Jan 2021 10:44:17 +0000 (+0100) Subject: gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async() X-Git-Tag: 0.51.1~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4ec8773bd370f9db5227c6c5c04f6b824925e25;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async() --- diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index 9eaaadb0d..a4f0de7e9 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -110,8 +110,9 @@ namespace Gdk { public async void save_to_stream_async (GLib.OutputStream stream, string type, GLib.Cancellable? cancellable = null, ...) throws GLib.Error; [Version (since = "2.36")] public bool save_to_streamv (GLib.OutputStream stream, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values, GLib.Cancellable? cancellable = null) throws GLib.Error; + [CCode (finish_instance = false, finish_name = "gdk_pixbuf_save_to_stream_finish")] [Version (since = "2.36")] - public async void save_to_streamv_async (GLib.OutputStream stream, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values, GLib.Cancellable? cancellable = null); + public async void save_to_streamv_async (GLib.OutputStream stream, string type, [CCode (array_length = false, array_null_terminated = true)] string[] option_keys, [CCode (array_length = false, array_null_terminated = true)] string[] option_values, GLib.Cancellable? cancellable = null) throws GLib.Error; public bool savev (string filename, 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; public void scale (Gdk.Pixbuf dest, int dest_x, int dest_y, int dest_width, int dest_height, double offset_x, double offset_y, double scale_x, double scale_y, Gdk.InterpType interp_type); public Gdk.Pixbuf? scale_simple (int dest_width, int dest_height, Gdk.InterpType interp_type); diff --git a/vapi/metadata/GdkPixbuf-2.0.metadata b/vapi/metadata/GdkPixbuf-2.0.metadata index e70cd2875..f7d8bc768 100644 --- a/vapi/metadata/GdkPixbuf-2.0.metadata +++ b/vapi/metadata/GdkPixbuf-2.0.metadata @@ -19,6 +19,7 @@ Pixbuf .save_to_stream throws throws="GLib.Error" .save_to_stream.error skip .save_to_stream_async finish_name="gdk_pixbuf_save_to_stream_finish" finish_instance=false sentinel="NULL" throws="GLib.Error" + .save_to_streamv_async finish_name="gdk_pixbuf_save_to_stream_finish" finish_instance=false throws="GLib.Error" .save_to_stream_finish skip PixbufModule.* skip=false