[json-glib] Annotate json_builder_new_immutable()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [json-glib] Annotate json_builder_new_immutable()
- Date: Thu, 28 Feb 2019 17:09:46 +0000 (UTC)
commit 09091490a45cbe21bb85e670d3565e30c7d1ddd2
Author: Emmanuele Bassi <ebassi gnome org>
Date: Thu Feb 28 17:09:00 2019 +0000
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.
json-glib/json-builder.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]