[vala/staging: 1/6] gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async()




commit d4ec8773bd370f9db5227c6c5c04f6b824925e25
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Jan 30 11:44:17 2021 +0100

    gdk-pixbuf-2.0: Fix Pixbuf.save_to_streamv_async()

 vapi/gdk-pixbuf-2.0.vapi             | 3 ++-
 vapi/metadata/GdkPixbuf-2.0.metadata | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)
---
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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]