summaryrefslogtreecommitdiff
path: root/json-glib/json-object.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2015-09-01 10:05:23 +0100
committerPhilip Withnall <philip.withnall@collabora.co.uk>2015-09-01 10:08:28 +0100
commitbfbc0b48e9256473491755766c079f73bee80724 (patch)
treed0d0cf548d5956c075eba8114c91183a4d7c02d7 /json-glib/json-object.c
parent54fedc974f0c0548951454125cd2b2f35528fa67 (diff)
downloadjson-glib-bfbc0b48e9256473491755766c079f73bee80724.tar.gz
lib: Trivial documentation clarifications
Clarify the documentation for json_node_set_object() and json_object_get_array_member(). https://bugzilla.gnome.org/show_bug.cgi?id=754384
Diffstat (limited to 'json-glib/json-object.c')
-rw-r--r--json-glib/json-object.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/json-glib/json-object.c b/json-glib/json-object.c
index 6d203b2..c71d8f9 100644
--- a/json-glib/json-object.c
+++ b/json-glib/json-object.c
@@ -722,11 +722,13 @@ json_object_get_array_member (JsonObject *object,
* @member_name: the name of the member
*
* Convenience function that retrieves the object
- * stored in @member_name of @object
+ * stored in @member_name of @object. It is an error to specify a @member_name
+ * which does not exist.
*
* See also: json_object_get_member()
*
- * Return value: (transfer none): the object inside the object's member
+ * Return value: (transfer none) (nullable): the object inside the object’s
+ * member, or %NULL if the value for the member is `null`
*
* Since: 0.8
*/