diff options
author | Christian Persch <chpe@gnome.org> | 2013-05-12 21:52:54 +0200 |
---|---|---|
committer | Christian Persch <chpe@gnome.org> | 2013-05-13 13:45:11 +0200 |
commit | 1d310cf5dbe3ef224f5af505f33cc7263a5801e9 (patch) | |
tree | 51a4664a26601daf011744e36df1b26d682c32de | |
parent | b7550999cdee5281cdece52b4ca2d35fa70dd868 (diff) | |
download | glib-1d310cf5dbe3ef224f5af505f33cc7263a5801e9.tar.gz |
app: Document when floating variants are consumed
Bug #700203.
-rw-r--r-- | gio/gaction.c | 2 | ||||
-rw-r--r-- | gio/gsimpleaction.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gio/gaction.c b/gio/gaction.c index e6b42da84..a3edec9d1 100644 --- a/gio/gaction.c +++ b/gio/gaction.c @@ -374,6 +374,8 @@ g_action_get_enabled (GAction *action) * the parameter type given at construction time). If the parameter * type was %NULL then @parameter must also be %NULL. * + * If the @parameter GVariant is floating, it is consumed. + * * Since: 2.28 **/ void diff --git a/gio/gsimpleaction.c b/gio/gsimpleaction.c index 64dacfd99..49188ad0d 100644 --- a/gio/gsimpleaction.c +++ b/gio/gsimpleaction.c @@ -144,6 +144,8 @@ g_simple_action_change_state (GAction *action, * property. Instead, they should call g_action_change_state() to * request the change. * + * If the @value GVariant is floating, it is consumed. + * * Since: 2.30 **/ void |