From: Rico Tzschichholz Date: Wed, 11 Oct 2017 16:59:38 +0000 (+0200) Subject: vapi: Update GIR-based bindings X-Git-Tag: 0.39.1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f70ae903b9cfa6f6e19ded10b5e4c0592e9684;p=thirdparty%2Fvala.git vapi: Update GIR-based bindings --- diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi index ee2312859..76665b015 100644 --- a/vapi/gio-2.0.vapi +++ b/vapi/gio-2.0.vapi @@ -2276,7 +2276,7 @@ namespace GLib { [CCode (has_construct_function = false)] public SettingsSchemaSource.from_directory (string directory, GLib.SettingsSchemaSource? parent, bool trusted) throws GLib.Error; [CCode (cheader_filename = "gio/gio.h")] - public static unowned GLib.SettingsSchemaSource get_default (); + public static unowned GLib.SettingsSchemaSource? get_default (); [Version (since = "2.40")] public void list_schemas (bool recursive, [CCode (array_length = false, array_null_terminated = true)] out string[] non_relocatable, [CCode (array_length = false, array_null_terminated = true)] out string[] relocatable); public GLib.SettingsSchema? lookup (string schema_id, bool recursive); @@ -2756,6 +2756,9 @@ namespace GLib { public void* get_source_tag (); [Version (since = "2.36")] public void* get_task_data (); + [CCode (cname = "g_task_get_source_object")] + [Version (since = "2.36")] + public unowned GLib.Object? get_unowned_source_object (); [Version (since = "2.36")] public bool had_error (); [Version (since = "2.36")] @@ -3232,7 +3235,7 @@ namespace GLib { } [CCode (cheader_filename = "gio/gio.h", type_id = "g_async_result_get_type ()")] public interface AsyncResult : GLib.Object { - public abstract GLib.Object get_source_object (); + public abstract GLib.Object? get_source_object (); public abstract void* get_user_data (); [Version (since = "2.34")] public abstract bool is_tagged (void* source_tag); diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata index 15a60741d..163208075 100644 --- a/vapi/metadata/Gio-2.0.metadata +++ b/vapi/metadata/Gio-2.0.metadata @@ -409,7 +409,7 @@ Socket .receive_message.messages out unowned=false .receive_message.flags ref Task - .get_source_object type="GLib.Object" + .get_source_object name="get_unowned_source_object" nullable TlsBackend .get_certificate_type abstract .get_client_connection_type abstract