]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 11 Oct 2017 16:59:38 +0000 (18:59 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 11 Oct 2017 16:59:38 +0000 (18:59 +0200)
vapi/gio-2.0.vapi
vapi/metadata/Gio-2.0.metadata

index ee23128597f071687ee65a64ef5d9c023c44a4a0..76665b0156cd9fdbde1fa2ddb82d5f9a80fe0e04 100644 (file)
@@ -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);
index 15a60741d6c93167753e2677826a19bcb2260f54..1632080754f880ee8b19d4a798b93c337b2e81cf 100644 (file)
@@ -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