GNOME Bugzilla – Bug 646420
g_dbus_method_invocation_get_parameters() docs should say it returns a tuple
Last modified: 2011-04-03 07:13:40 UTC
Presumably the g_dbus_method_invocation_get_parameters() documentation http://library.gnome.org/devel/gio/unstable/GDBusMethodInvocation.html#g-dbus-method-invocation-get-parameters should mention that it returns a tuple GVariant. If so, I'll make that fix.
We could mention this. But before doing this, please check that NULL is never returned (for e.g. methods with no IN parameters).
Created attachment 184942 [details] [review] 646420 - I checked and found that it returns an empty (0 children) tuple GVariant in that case. _g_dbus_method_invocation_new()'s code also checks that it is non-NULL. Is it OK to push this patch?
Comment on attachment 184942 [details] [review] 646420 - Looks good to me. Thanks.