GNOME Bugzilla – Bug 737913
DBus timeout attribute does not work for client methods
Last modified: 2016-09-17 08:10:48 UTC
Created attachment 287742 [details] Test case According to <https://wiki.gnome.org/Projects/Vala/Manual/Attributes>, the DBus timeout attribute should work for client methods. It does not seem like this is actually implemented though. In the attached test.vala, in the generated c code, you can see that in spite of the attribute it uses "g_dbus_proxy_get_default_timeout ((GDBusProxy *) self)" for the timeout argument of "g_dbus_connection_send_message_with_reply". A quick glance at valagdbusclientmodule.vala looks like it is just not implemented.
Created attachment 335734 [details] [review] patch applicable to master (0.33.1)
commit 0431459492f94a9840f29abb143f7e29834e2d54 Author: Michele Dionisio <michele.dionisio@gmail.com> Date: Sat Sep 17 10:02:15 2016 +0200 D-Bus: Support DBus.timeout attribute for client methods