]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Make AsyncInitable.init_async virtual instead of abstract
authorLuca Bruno <lucabru@src.gnome.org>
Wed, 21 Dec 2011 07:52:46 +0000 (08:52 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 21 Dec 2011 15:31:18 +0000 (16:31 +0100)
Fixes bug 666348.

vapi/gio-2.0.vapi
vapi/packages/gio-2.0/gio-2.0.metadata

index 601b3c5245ab63674d09be216336b718d557df5f..fa9bc6c7765e40750229fa395c8babce41f5b4da 100644 (file)
@@ -1847,7 +1847,7 @@ namespace GLib {
        }
        [CCode (cheader_filename = "gio/gio.h")]
        public interface AsyncInitable : GLib.Object {
-               public abstract async bool init_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
+               public virtual async bool init_async (int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null) throws GLib.Error;
                public static async unowned GLib.Object new_async (GLib.Type object_type, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable, ...) throws GLib.Error;
                public static async void new_valist_async (GLib.Type object_type, string first_property_name, void* var_args, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
                public static async void newv_async (GLib.Type object_type, uint n_parameters, GLib.Parameter parameters, int io_priority = GLib.Priority.DEFAULT, GLib.Cancellable? cancellable = null);
index a6c1c2415f33e3e5d95760c820f0ae72ded6daba..5707981d0de37edae927814f2fd9520fd28df5c3 100644 (file)
@@ -13,6 +13,7 @@ g_app_launch_context_get_startup_notify_id.files type_arguments="File"
 g_application_command_line_print ellipsis="1" printf_format="1"
 g_application_command_line_printerr ellipsis="1" printf_format="1"
 GAsyncReadyCallback.source_object nullable="1"
+g_async_initable_init_async virtual="1"
 g_async_initable_new_async transfer_ownership="1"
 g_async_initable_new_async.cancellable nullable="1"
 g_buffered_input_stream_peek.buffer type_name="uint8" is_array="1" array_length_pos="2.9" array_length_type="gsize"