[glib/wip/gmenu: 23/59] Improve docs



commit 40fe067affa0d7ccfd5b922ad13b02bb88eef327
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Nov 27 13:46:49 2011 -0500

    Improve docs
    
    Specify that g_menu_item_set_attribute_value consumes floating
    @values.

 gio/gmenu.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gio/gmenu.c b/gio/gmenu.c
index e272591..a4131ed 100644
--- a/gio/gmenu.c
+++ b/gio/gmenu.c
@@ -603,7 +603,8 @@ valid_attribute_name (const gchar *name)
  * ASCII characters, digits and '-'.
  *
  * If @value is non-%NULL then it is used as the new value for the
- * attribute.  If @value is %NULL then the attribute is unset.
+ * attribute.  If @value is %NULL then the attribute is unset. If
+ * the @value #GVariant is floating, it is consumed.
  *
  * See also g_menu_item_set_attribute() for a more convenient way to do
  * the same.



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