From d5a1b674f5a54ed0edef8d46d8e73715b7d88cd8 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 27 Nov 2011 13:46:49 -0500 Subject: [PATCH] Improve docs Specify that g_menu_item_set_attribute_value consumes floating @values. --- gio/gmenu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gio/gmenu.c b/gio/gmenu.c index e27259179..a4131ed0e 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.