summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-01-08 15:07:52 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2019-01-08 16:36:04 +0100
commit0346178bcded7be0c82772d75975970a4ea2350a (patch)
treeb5affc517b49ea6ff5f8f1b3371406fd1ec8f7cd
parentb9bfbe5141ccae9959b45f0bec8f6e6771aeafa0 (diff)
downloadvala-0346178bcded7be0c82772d75975970a4ea2350a.tar.gz
gio-2.0: Use only metadata for DBusConnection.send_message_with_reply()
-rw-r--r--vapi/metadata/Gio-2.0-custom.vala1
-rw-r--r--vapi/metadata/Gio-2.0.metadata6
2 files changed, 1 insertions, 6 deletions
diff --git a/vapi/metadata/Gio-2.0-custom.vala b/vapi/metadata/Gio-2.0-custom.vala
index 0fd6dcbd3..21b8479d9 100644
--- a/vapi/metadata/Gio-2.0-custom.vala
+++ b/vapi/metadata/Gio-2.0-custom.vala
@@ -43,7 +43,6 @@ namespace GLib {
public async T get_proxy<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public T get_proxy_sync<T> (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError;
public uint register_object<T> (string object_path, T object) throws GLib.IOError;
- public async GLib.DBusMessage send_message_with_reply (GLib.DBusMessage message, GLib.DBusSendMessageFlags flags, int timeout_msec, uint32 *out_serial = null, GLib.Cancellable? cancellable = null) throws GLib.IOError;
}
[CCode (cheader_filename = "gio/gio.h", type_id = "g_dbus_object_manager_client_get_type ()")]
diff --git a/vapi/metadata/Gio-2.0.metadata b/vapi/metadata/Gio-2.0.metadata
index 704ce0206..62eb22e04 100644
--- a/vapi/metadata/Gio-2.0.metadata
+++ b/vapi/metadata/Gio-2.0.metadata
@@ -99,6 +99,7 @@ DBusAuthObserver.authorize_authenticated_peer virtual
DBusConnection
.*.observer#parameter default=null
.send_message_with_reply*.out_serial default=null
+ .send_message_with_reply_finish throws="GLib.IOError"
.send_message_with_reply_sync throws="GLib.IOError"
DBusInterfaceSkeleton
.get_vtable skip=false nullable unowned=false
@@ -368,11 +369,6 @@ File
// Need to ask about this... annotated as out, but that seems wrong
DBus*Info.generate_xml.string_builder out=false
-// out_serial must not be out in the async function
-DBusConnection
- .send_message_with_reply skip
- .send_message_with_reply_finish skip
-
// Back compat
TlsCertificate abstract=false
DataInputStream