[glib] app: Document when floating variants are consumed
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] app: Document when floating variants are consumed
- Date: Mon, 13 May 2013 11:45:28 +0000 (UTC)
commit 1d310cf5dbe3ef224f5af505f33cc7263a5801e9
Author: Christian Persch <chpe gnome org>
Date: Sun May 12 21:52:54 2013 +0200
app: Document when floating variants are consumed
Bug #700203.
gio/gaction.c | 2 ++
gio/gsimpleaction.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gaction.c b/gio/gaction.c
index e6b42da..a3edec9 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 64dacfd..49188ad 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]