diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-09-01 10:05:23 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-09-01 10:08:28 +0100 |
commit | bfbc0b48e9256473491755766c079f73bee80724 (patch) | |
tree | d0d0cf548d5956c075eba8114c91183a4d7c02d7 /json-glib/json-node.c | |
parent | 54fedc974f0c0548951454125cd2b2f35528fa67 (diff) | |
download | json-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-node.c')
-rw-r--r-- | json-glib/json-node.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/json-glib/json-node.c b/json-glib/json-node.c index 13968bc..fb95f42 100644 --- a/json-glib/json-node.c +++ b/json-glib/json-node.c @@ -410,9 +410,11 @@ json_node_copy (JsonNode *node) /** * json_node_set_object: * @node: a #JsonNode initialized to %JSON_NODE_OBJECT - * @object: a #JsonObject + * @object: (nullable): a #JsonObject * * Sets @objects inside @node. The reference count of @object is increased. + * + * If @object is %NULL, the node’s existing object is cleared. */ void json_node_set_object (JsonNode *node, |