summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2013-05-12 21:52:54 +0200
committerChristian Persch <chpe@gnome.org>2013-05-13 13:45:11 +0200
commit1d310cf5dbe3ef224f5af505f33cc7263a5801e9 (patch)
tree51a4664a26601daf011744e36df1b26d682c32de
parentb7550999cdee5281cdece52b4ca2d35fa70dd868 (diff)
downloadglib-1d310cf5dbe3ef224f5af505f33cc7263a5801e9.tar.gz
app: Document when floating variants are consumed
Bug #700203.
-rw-r--r--gio/gaction.c2
-rw-r--r--gio/gsimpleaction.c2
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