Improve docs

Specify that g_menu_item_set_attribute_value consumes floating
@values.
This commit is contained in:
Matthias Clasen 2011-11-27 13:46:49 -05:00 committed by Ryan Lortie
parent 41c19c7df8
commit d5a1b674f5

View File

@ -603,7 +603,8 @@ valid_attribute_name (const gchar *name)
* ASCII characters, digits and '-'. * ASCII characters, digits and '-'.
* *
* If @value is non-%NULL then it is used as the new value for the * 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 * See also g_menu_item_set_attribute() for a more convenient way to do
* the same. * the same.