From: Jürg Billeter Date: Sat, 15 Jan 2011 09:51:51 +0000 (+0100) Subject: gdk-pixbuf-2.0: Update to 2.23.0 X-Git-Tag: 0.11.4~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec9d9ecf34d2168e9514d06b832da8adc46b41d;p=thirdparty%2Fvala.git gdk-pixbuf-2.0: Update to 2.23.0 --- diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi index c3829c213..27e6f3739 100644 --- a/vapi/gdk-pixbuf-2.0.vapi +++ b/vapi/gdk-pixbuf-2.0.vapi @@ -29,8 +29,12 @@ namespace Gdk { public static unowned Gdk.Pixbuf from_pixdata (Gdk.Pixdata pixdata, bool copy_pixels) throws GLib.Error; [CCode (has_construct_function = false)] public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable) throws GLib.Error; + [CCode (type = "void", has_construct_function = false)] + public async Pixbuf.from_stream_async (GLib.InputStream stream, GLib.Cancellable cancellable) throws GLib.Error; [CCode (has_construct_function = false)] public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable) throws GLib.Error; + [CCode (type = "void", has_construct_function = false)] + public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable cancellable); [CCode (has_construct_function = false)] public Pixbuf.from_xpm_data ([CCode (array_length = false)] string[] data); public int get_bits_per_sample (); @@ -53,6 +57,7 @@ namespace Gdk { public bool save_to_callback (Gdk.PixbufSaveFunc save_func, string type, ...) throws GLib.Error; public bool save_to_callbackv (Gdk.PixbufSaveFunc save_func, string type, string[] option_keys, string[] option_values) throws GLib.Error; public bool save_to_stream (GLib.OutputStream stream, string type, GLib.Cancellable cancellable) throws GLib.Error; + public async bool save_to_stream_async (GLib.OutputStream stream, string type, GLib.Cancellable cancellable) throws GLib.Error; public bool savev (string filename, string type, out unowned string option_keys, out unowned 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/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.gi b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.gi index 7e8557a28..c69de204a 100644 --- a/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.gi +++ b/vapi/packages/gdk-pixbuf-2.0/gdk-pixbuf-2.0.gi @@ -425,6 +425,15 @@ + + + + + + + + + @@ -436,6 +445,25 @@ + + + + + + + + + + + + + + + + + + + @@ -531,6 +559,24 @@ + + + + + + + + + + + + + + + + + + @@ -770,9 +816,9 @@ - - - + + +