]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-pixbuf-2.0: Use correct finish-func for Pixbuf.from_stream_at_scale_async()
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 28 Feb 2017 15:19:29 +0000 (16:19 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 28 Feb 2017 15:20:43 +0000 (16:20 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=779366

vapi/gdk-pixbuf-2.0.vapi
vapi/metadata/GdkPixbuf-2.0.metadata

index fe410485032b78b7173df8442cf32b4a98c13280..4f47f534c956e89c6570b5ec6650ead1a84b49e5 100644 (file)
@@ -47,13 +47,13 @@ namespace Gdk {
                [CCode (has_construct_function = false)]
                [Version (since = "2.14")]
                public Pixbuf.from_stream (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               [CCode (cname = "gdk_pixbuf_new_from_stream_async", has_construct_function = false)]
+               [CCode (finish_name = "gdk_pixbuf_new_from_stream_finish", has_construct_function = false, type = "void")]
                [Version (since = "2.24")]
                public async Pixbuf.from_stream_async (GLib.InputStream stream, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (has_construct_function = false)]
                [Version (since = "2.14")]
                public Pixbuf.from_stream_at_scale (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
-               [CCode (finish_name = "gdk_pixbuf_save_to_stream_finish", has_construct_function = false, type = "void")]
+               [CCode (finish_name = "gdk_pixbuf_new_from_stream_finish", has_construct_function = false, type = "void")]
                [Version (since = "2.24")]
                public async Pixbuf.from_stream_at_scale_async (GLib.InputStream stream, int width, int height, bool preserve_aspect_ratio, GLib.Cancellable? cancellable = null) throws GLib.Error;
                [CCode (has_construct_function = false)]
index acc4124f3b817cb7f03985270e61f088521db7f5..003ddaebbac37357ab04550e5508863b5e739ebb 100644 (file)
@@ -2,7 +2,9 @@
 
 Pixbuf
         .new_from_xpm_data.data type="string[]"
-        .new_from_stream_at_scale_async symbol_type="constructor" throws="GLib.Error" finish_name="gdk_pixbuf_save_to_stream_finish"
+        .new_from_stream_async symbol_type="constructor" finish_name="gdk_pixbuf_new_from_stream_finish" throws="GLib.Error"
+        .new_from_stream_at_scale_async symbol_type="constructor" finish_name="gdk_pixbuf_new_from_stream_finish" throws="GLib.Error"
+        .new_from_stream_finish skip
         .new_from_data.data owned
         .new_subpixbuf symbol_type="constructor"
         .get_file_info_async.cancellable default=()