diff --git a/glib/garcbox.c b/glib/garcbox.c index ddbf04c83..9c1bd8fe5 100644 --- a/glib/garcbox.c +++ b/glib/garcbox.c @@ -274,7 +274,7 @@ gpointer * * Atomically acquires a reference on the data pointed by @mem_block. * - * Returns: (transfer none) (not nullable): a pointer to the data, + * Returns: (transfer full) (not nullable): a pointer to the data, * with its reference count increased * * Since: 2.58 @@ -298,7 +298,7 @@ gpointer /** * g_atomic_rc_box_release: - * @mem_block: (not nullable): a pointer to reference counted data + * @mem_block: (transfer full) (not nullable): a pointer to reference counted data * * Atomically releases a reference on the data pointed by @mem_block. * @@ -315,7 +315,7 @@ g_atomic_rc_box_release (gpointer mem_block) /** * g_atomic_rc_box_release_full: - * @mem_block: (not nullable): a pointer to reference counted data + * @mem_block: (transfer full) (not nullable): a pointer to reference counted data * @clear_func: (not nullable): a function to call when clearing the data * * Atomically releases a reference on the data pointed by @mem_block. diff --git a/glib/grcbox.c b/glib/grcbox.c index 448bc0c6a..204f4bc9e 100644 --- a/glib/grcbox.c +++ b/glib/grcbox.c @@ -351,7 +351,7 @@ gpointer * * Acquires a reference on the data pointed by @mem_block. * - * Returns: (transfer none) (not nullable): a pointer to the data, + * Returns: (transfer full) (not nullable): a pointer to the data, * with its reference count increased * * Since: 2.58 @@ -375,7 +375,7 @@ gpointer /** * g_rc_box_release: - * @mem_block: (not nullable): a pointer to reference counted data + * @mem_block: (transfer full) (not nullable): a pointer to reference counted data * * Releases a reference on the data pointed by @mem_block. * @@ -392,7 +392,7 @@ g_rc_box_release (gpointer mem_block) /** * g_rc_box_release_full: - * @mem_block: (not nullable): a pointer to reference counted data + * @mem_block: (transfer full) (not nullable): a pointer to reference counted data * @clear_func: (not nullable): a function to call when clearing the data * * Releases a reference on the data pointed by @mem_block.