mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Document behaviour wrt. to floating variants
This commit is contained in:
parent
9581b33ca5
commit
33b775308b
@ -363,6 +363,8 @@ g_action_class_init (GActionClass *class)
|
||||
* its state or may change its state to something other than @value.
|
||||
* See g_action_get_state_hint().
|
||||
*
|
||||
* If the @value GVariant is floating, it is consumed.
|
||||
*
|
||||
* Since: 2.26
|
||||
**/
|
||||
void
|
||||
@ -635,6 +637,8 @@ g_action_new (const gchar *name,
|
||||
* @state is the initial state of the action. All future state values
|
||||
* must have the same #GVariantType as the initial state.
|
||||
*
|
||||
* If the @state GVariant is floating, it is consumed.
|
||||
*
|
||||
* Returns: a new #GAction
|
||||
*
|
||||
* Since: 2.26
|
||||
|
Loading…
Reference in New Issue
Block a user