summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-04-19 18:20:41 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2020-04-19 18:20:41 +0200
commit5120ea0a49fd616cb15e8f67964c2c30cf041e36 (patch)
tree50540470bb9756723e9a9844d07fa4e6d609de4c
parent0e424b9d6f23dafda08434f32181ff03668b9e12 (diff)
downloadvala-5120ea0a49fd616cb15e8f67964c2c30cf041e36.tar.gz
gio-2.0: Add "async_result_pos" attributes to *.call_with_unix_fd_list()
Fixes https://gitlab.gnome.org/GNOME/vala/issues/340
-rw-r--r--vapi/gio-2.0.vapi2
1 files changed, 2 insertions, 0 deletions
diff --git a/vapi/gio-2.0.vapi b/vapi/gio-2.0.vapi
index b7f5b0973..03a8824de 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -653,6 +653,7 @@ namespace GLib {
public uint add_filter (owned GLib.DBusMessageFilterFunction filter_function);
public async GLib.Variant call (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (async_result_pos = 2.1)]
[Version (since = "2.30")]
public async GLib.Variant call_with_unix_fd_list (string? bus_name, string object_path, string interface_name, string method_name, GLib.Variant? parameters, GLib.VariantType? reply_type, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
[Version (since = "2.30")]
@@ -1014,6 +1015,7 @@ namespace GLib {
public async DBusProxy (GLib.DBusConnection connection, GLib.DBusProxyFlags flags, GLib.DBusInterfaceInfo? info, string? name, string object_path, string interface_name, GLib.Cancellable? cancellable = null) throws GLib.Error;
public async GLib.Variant call (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
public GLib.Variant call_sync (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.Cancellable? cancellable = null) throws GLib.Error;
+ [CCode (async_result_pos = 2.1)]
[Version (since = "2.30")]
public async GLib.Variant call_with_unix_fd_list (string method_name, GLib.Variant? parameters, GLib.DBusCallFlags flags, int timeout_msec, GLib.UnixFDList? fd_list = null, GLib.Cancellable? cancellable = null, out GLib.UnixFDList? out_fd_list = null) throws GLib.Error;
[Version (since = "2.30")]