Gio: Introspection does not seem to work for g_dbus_error_strip_remote_error
Hello,
Python method Gio.DBusError.strip_remote_error does not seem to work (tested with 2.56.4-0ubuntu0.18.04.3 version of libglib2.0-0). The error parameter is not updated whereas the method returns True (so information should be stripped).
>>> from gi.repository import GLib, Gio
>>> err = GLib.GError(message="GDBus.Error:Unable to load file: No such file or directory")
>>> Gio.DBusError.strip_remote_error(err)
True
>>> print(err)
pygi-error: GDBus.Error:Unable to load file: No such file or directory (0)
I have tried to add some GObjectIntrospection annotations for g_dbus_error_strip_remote_error ((inout) for example) but error parameter is never updated.
I do not know if I do not call the method properly or if the issue is in glib, gobject-introspection or other.
Thanks!