]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Wed, 21 Dec 2011 07:52:46 +0000 (08:52 +0100)
Fixes bug 666348.

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

index 1a523cbb3e354664a072bd7c7818b4e4557105de..4097a1029c0e382ad8153e9e79bc4064f0b6e1b5 100644 (file)
@@ -1951,7 +1951,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 24c0583594ec7d4d63c1bb8c84023513c8d3b55d..8d5a94d46defa1ae34c0345df9a406c22f321e3f 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"