[glib] g_dbus_method_invocation_return_value consumes the floating variant



commit 06e74ca96928550a31fc05991df01e68300d8a45
Author: Christian Persch <chpe gnome org>
Date:   Tue Jun 8 13:40:38 2010 +0200

    g_dbus_method_invocation_return_value consumes the floating variant
    
    Bug #620953.

 gio/gdbusmethodinvocation.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gio/gdbusmethodinvocation.c b/gio/gdbusmethodinvocation.c
index 4446166..de6233f 100644
--- a/gio/gdbusmethodinvocation.c
+++ b/gio/gdbusmethodinvocation.c
@@ -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.
  *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]