From 32e26cf17936e0ad26252acb24530a7e2811e3eb Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Sat, 2 Apr 2011 15:42:11 +0200 Subject: [PATCH] GDBusMethodInvocation: Improve get_parameters() documentation. Note that the returned GVariant is always a tuple. See bug #646420. --- gio/gdbusmethodinvocation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c index 2e6b5e695..64b7486c5 100644 --- a/gio/gdbusmethodinvocation.c +++ b/gio/gdbusmethodinvocation.c @@ -249,9 +249,10 @@ g_dbus_method_invocation_get_message (GDBusMethodInvocation *invocation) * g_dbus_method_invocation_get_parameters: * @invocation: A #GDBusMethodInvocation. * - * Gets the parameters of the method invocation. + * Gets the parameters of the method invocation. If there are no input + * parameters then this will return a GVariant with 0 children rather than NULL. * - * Returns: A #GVariant. Do not free, it is owned by @invocation. + * Returns: (transfer none): A #GVariant tuple. Do not unref this because it is owned by @invocation. * * Since: 2.26 */