summaryrefslogtreecommitdiff
path: root/json-glib/json-builder.c
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2019-02-28 17:09:00 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2019-02-28 17:09:00 +0000
commit09091490a45cbe21bb85e670d3565e30c7d1ddd2 (patch)
treef6dd8d5b578f004e15aa48b614ec22e83112e817 /json-glib/json-builder.c
parent7984df5877180c3237237004ddb4b32cea6387b2 (diff)
downloadjson-glib-09091490a45cbe21bb85e670d3565e30c7d1ddd2.tar.gz
Annotate json_builder_new_immutable()
We shouldn't rely on g-ir-scanner doing pattern matching on the name of the function to determine if it's a constructor or not.
Diffstat (limited to 'json-glib/json-builder.c')
-rw-r--r--json-glib/json-builder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-builder.c b/json-glib/json-builder.c
index f8af1cd..0a7f536 100644
--- a/json-glib/json-builder.c
+++ b/json-glib/json-builder.c
@@ -250,7 +250,7 @@ json_builder_new (void)
}
/**
- * json_builder_new_immutable:
+ * json_builder_new_immutable: (constructor)
*
* Creates a new #JsonBuilder instance with its #JsonBuilder:immutable property
* set to %TRUE to create immutable output trees.