[vala/staging: 6/9] gio-2.0: Use only metadata for DBusConnection.send_message_with_reply()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging: 6/9] gio-2.0: Use only metadata for DBusConnection.send_message_with_reply()
- Date: Tue, 8 Jan 2019 16:10:34 +0000 (UTC)
commit 0346178bcded7be0c82772d75975970a4ea2350a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 8 15:07:52 2019 +0100
gio-2.0: Use only metadata for DBusConnection.send_message_with_reply()
vapi/metadata/Gio-2.0-custom.vala | 1 -
vapi/metadata/Gio-2.0.metadata | 6 +-----
2 files changed, 1 insertion(+), 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]