g_dbus_method_invocation_return_value consumes the floating variant
authorChristian Persch <chpe@gnome.org>
Tue, 8 Jun 2010 11:40:38 +0000 (13:40 +0200)
committerChristian Persch <chpe@gnome.org>
Tue, 8 Jun 2010 15:41:47 +0000 (17:41 +0200)
Bug #620953.

gio/gdbusmethodinvocation.c

index 4446166..de6233f 100644 (file)
@@ -323,6 +323,7 @@ g_dbus_method_invocation_new (const gchar           *sender,
  * @parameters: A #GVariant tuple with out parameters for the method or %NULL if not passing any parameters.
  *
  * Finishes handling a D-Bus method call by returning @parameters.
+ * If the @parameters GVariant is floating, it is consumed.
  *
  * It is an error if @parameters is not of the right format.
  *