[vala/staging] vapi: Update GIR-based bindings
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] vapi: Update GIR-based bindings
- Date: Wed, 11 Oct 2017 17:33:09 +0000 (UTC)
commit c4f70ae903b9cfa6f6e19ded10b5e4c0592e9684
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Wed Oct 11 18:59:38 2017 +0200
vapi: Update GIR-based bindings
vapi/gio-2.0.vapi | 7 +++++--
vapi/metadata/Gio-2.0.metadata | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index ee23128..76665b0 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 15a6074..1632080 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]