From 5120ea0a49fd616cb15e8f67964c2c30cf041e36 Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sun, 19 Apr 2020 18:20:41 +0200 Subject: [PATCH] gio-2.0: Add "async_result_pos" attributes to *.call_with_unix_fd_list() Fixes https://gitlab.gnome.org/GNOME/vala/issues/340 --- vapi/gio-2.0.vapi | 2 ++ 1 file changed, 2 insertions(+) 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")] -- 2.47.2