[vala] gdk-pixbuf-2.0: make Pixbuf.save_to_stream variadic



commit f6d8aa7097dafbf53b421c9fe7617e6e54ec1c16
Author: Evan Nemerson <evan nemerson com>
Date:   Fri Mar 21 12:18:45 2014 -0700

    gdk-pixbuf-2.0: make Pixbuf.save_to_stream variadic

 vapi/gdk-pixbuf-2.0.vapi                |    4 ++--
 vapi/metadata/GdkPixbuf-2.0-custom.vala |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index b2addc7..b91770c 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -69,9 +69,9 @@ namespace Gdk {
                public bool save_to_bufferv ([CCode (array_length_cname = "buffer_size", array_length_pos = 
1.5, array_length_type = "gsize")] out uint8[] buffer, 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 bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type, ...) throws 
GLib.Error;
                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;
-               public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable? 
cancellable = null) throws GLib.Error;
+               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")]
-               public async bool save_to_stream_async (GLib.OutputStream stream, string type, 
GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool save_to_stream_async (GLib.OutputStream stream, string type, 
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-custom.vala b/vapi/metadata/GdkPixbuf-2.0-custom.vala
index e771550..b34ecdf 100644
--- a/vapi/metadata/GdkPixbuf-2.0-custom.vala
+++ b/vapi/metadata/GdkPixbuf-2.0-custom.vala
@@ -17,9 +17,9 @@ namespace Gdk {
                public bool save (string filename, string type, ...) throws GLib.Error;
                public bool save_to_buffer ([CCode (array_length_type = "gsize", type = "gchar**")] out 
uint8[] buffer, string type, ...) throws GLib.Error;
                public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type, ...) throws 
GLib.Error;
-               public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable? 
cancellable = null) throws GLib.Error;
+               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")]
-               public async bool save_to_stream_async (GLib.OutputStream stream, string type, 
GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public async bool save_to_stream_async (GLib.OutputStream stream, string type, 
GLib.Cancellable? cancellable = null, ...) throws GLib.Error;
        }
 
        [CCode (cheader_filename = "gdk-pixbuf/gdk-pixdata.h", instance_pos = -0.9)]


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