From: Rico Tzschichholz Date: Tue, 8 Jan 2019 14:07:52 +0000 (+0100) Subject: gio-2.0: Use only metadata for DBusConnection.send_message_with_reply() X-Git-Tag: 0.43.5~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0346178bcded7be0c82772d75975970a4ea2350a;p=thirdparty%2Fvala.git gio-2.0: Use only metadata for DBusConnection.send_message_with_reply() --- 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 (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError; public T get_proxy_sync (string? name, string object_path, GLib.DBusProxyFlags flags = 0, GLib.Cancellable? cancellable = null) throws GLib.IOError; public uint register_object (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