From bfbc0b48e9256473491755766c079f73bee80724 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 1 Sep 2015 10:05:23 +0100 Subject: 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 --- json-glib/json-object.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'json-glib/json-object.c') 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 */ -- cgit v1.2.1