summaryrefslogtreecommitdiff
path: root/json-glib/json-generator.c
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@gnome.org>2015-12-28 21:15:49 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-03-18 18:58:40 +0000
commitabf36db8113aba96b3be2d11eaffcb51e5ccccb7 (patch)
tree2e3191ce687d75a237fdf5e3760b535b851bc236 /json-glib/json-generator.c
parentc015ec56fe8cc1908ce39dc781edfd2560655c15 (diff)
downloadjson-glib-abf36db8113aba96b3be2d11eaffcb51e5ccccb7.tar.gz
introspection: fix nullable annotation for return values in the following methods
json_builder_add_boolean_value json_builder_add_double_value json_builder_add_int_value json_builder_add_null_value json_builder_add_string_value json_builder_add_value json_builder_begin_array json_builder_begin_object json_builder_end_array json_builder_end_object json_builder_get_root json_builder_set_member_name json_generator_get_root json_reader_get_error json_reader_get_member_name json_reader_get_value json_serializable_find_property json_serializable_find_property json_boxed_serialize
Diffstat (limited to 'json-glib/json-generator.c')
-rw-r--r--json-glib/json-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-generator.c b/json-glib/json-generator.c
index d1a0894..6a9aff4 100644
--- a/json-glib/json-generator.c
+++ b/json-glib/json-generator.c
@@ -623,8 +623,8 @@ json_generator_set_root (JsonGenerator *generator,
* Retrieves a pointer to the root #JsonNode set using
* json_generator_set_root().
*
- * Return value: (transfer none): a #JsonNode, or %NULL. The returned node
- * is owned by the #JsonGenerator and it should not be freed
+ * Return value: (nullable) (transfer none): a #JsonNode, or %NULL. The returned
+ * node is owned by the #JsonGenerator and it should not be freed
*
* Since: 0.14
*/