]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gio-2.0: Use only metadata for DBusConnection.send_message_with_reply()
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 8 Jan 2019 14:07:52 +0000 (15:07 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 8 Jan 2019 15:36:04 +0000 (16:36 +0100)
vapi/metadata/Gio-2.0-custom.vala
vapi/metadata/Gio-2.0.metadata

index 0fd6dcbd39f890acc01dcbff12c2b7ac29d7c5cf..21b8479d9934c2e19d209c2c7b9cf4115e5839e1 100644 (file)
@@ -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 ()")]
index 704ce0206b024ac85ac7246ecb34f6aaa636dbc2..62eb22e044c1faec59803c6b7ab981668f3dc57e 100644 (file)
@@ -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