[vala] gdk-pixbuf-2.0: Use correct finish-func for Pixbuf.from_stream_at_scale_async()



commit 4f5213a655583ef8397cbbf38f2b8027fefaccfb
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Feb 28 16:19:29 2017 +0100

    gdk-pixbuf-2.0: Use correct finish-func for Pixbuf.from_stream_at_scale_async()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779366

 vapi/gdk-pixbuf-2.0.vapi             |    4 ++--
 vapi/metadata/GdkPixbuf-2.0.metadata |    4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gdk-pixbuf-2.0.vapi b/vapi/gdk-pixbuf-2.0.vapi
index fe41048..4f47f53 100644
--- a/vapi/gdk-pixbuf-2.0.vapi
+++ b/vapi/gdk-pixbuf-2.0.vapi
@@ -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)]
diff --git a/vapi/metadata/GdkPixbuf-2.0.metadata b/vapi/metadata/GdkPixbuf-2.0.metadata
index acc4124..003ddae 100644
--- a/vapi/metadata/GdkPixbuf-2.0.metadata
+++ b/vapi/metadata/GdkPixbuf-2.0.metadata
@@ -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=()


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