GDBus proxy overrides should support Gio.DBusProxy.call_with_unix_fd_list()
It should be possible to call DBus methods with a Gio.UnixFDList
using the Gio convenience overrides. We can simply look for a Gio.UnixFDList
as an extra parameter to the proxy method call. Gio.DBusProxy.call()
is actually the same as Gio.DBusProxy.call_with_unix_fd_list()
with a null
FD list parameter.
A few considerations:
- The
Gio.UnixFDList
andcall_with_unix_fd_list()
are only available on Unix. -
call_with_unix_fd_list()
also has an FD list out parameter. I'm not sure under what circumstances this is returned, or how we would return it to JS without breaking the API.