summaryrefslogtreecommitdiff
path: root/json-glib/json-node.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-02-15 16:28:07 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-02-15 16:28:07 +0000
commit8bb22d7de00f15ef44cad502d757639d8a4e8973 (patch)
treeecc356c1f1929465f3972569b7f65f12207da6d4 /json-glib/json-node.c
parent217127545b07f93ac27e3f137d748d61a5e199da (diff)
downloadjson-glib-8bb22d7de00f15ef44cad502d757639d8a4e8973.tar.gz
Fix introspection annotations
Diffstat (limited to 'json-glib/json-node.c')
-rw-r--r--json-glib/json-node.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c
index 7cb8852..f136b06 100644
--- a/json-glib/json-node.c
+++ b/json-glib/json-node.c
@@ -330,7 +330,7 @@ json_node_dup_array (JsonNode *node)
/**
* json_node_get_value:
* @node: a #JsonNode
- * @value: (out): return location for an uninitialized value
+ * @value: (out caller-allocates): return location for an uninitialized value
*
* Retrieves a value from a #JsonNode and copies into @value. When done
* using it, call g_value_unset() on the #GValue.
@@ -498,7 +498,7 @@ json_node_type_get_name (JsonNodeType node_type)
/**
* json_node_set_parent:
* @node: a #JsonNode
- * @parent: the parent #JsonNode of @node
+ * @parent: (transfer none): the parent #JsonNode of @node
*
* Sets the parent #JsonNode of @node
*
@@ -519,7 +519,8 @@ json_node_set_parent (JsonNode *node,
*
* Retrieves the parent #JsonNode of @node.
*
- * Return value: (transfer none) the parent node, or %NULL if @node is the root node
+ * Return value: (transfer none): the parent node, or %NULL if @node is
+ * the root node
*/
JsonNode *
json_node_get_parent (JsonNode *node)