summaryrefslogtreecommitdiff
path: root/json-glib/json-array.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/json-array.c')
-rw-r--r--json-glib/json-array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/json-glib/json-array.c b/json-glib/json-array.c
index 6e0dada..da26898 100644
--- a/json-glib/json-array.c
+++ b/json-glib/json-array.c
@@ -692,8 +692,8 @@ json_array_remove_element (JsonArray *array,
/**
* json_array_foreach_element:
* @array: a #JsonArray
- * @func: the function to be called on each element
- * @data: (allow-none): data to be passed to the function
+ * @func: (scope call): the function to be called on each element
+ * @data: (closure): data to be passed to the function
*
* Iterates over all elements of @array and calls @func on
* each one of them.