[glib] Document behaviour wrt. to floating variants
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Document behaviour wrt. to floating variants
- Date: Sat, 21 Aug 2010 23:19:20 +0000 (UTC)
commit 33b775308bd97c02ecdd6de4f91a619c8fcdc282
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Aug 21 19:18:17 2010 -0400
Document behaviour wrt. to floating variants
gio/gaction.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gio/gaction.c b/gio/gaction.c
index 3f70cc9..e7c5f00 100644
--- a/gio/gaction.c
+++ b/gio/gaction.c
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]