[vala/0.40] gio-2.0: Add "async_result_pos" attributes to *.call_with_unix_fd_list()



commit 102474a10492eea8121ad48c5cb25b87be5914b0
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Apr 19 18:20:41 2020 +0200

    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 8f12cb1fa..ee5a38a71 100644
--- a/vapi/gio-2.0.vapi
+++ b/vapi/gio-2.0.vapi
@@ -636,6 +636,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")]
@@ -988,6 +989,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")]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]