[gobject-introspection] gimarshallingtests: Fix annotation for GValue copy test



commit 0f9327b61fb666a0a6169db8e6ce9387ad887019
Author: Philip Chimento <philip chimento gmail com>
Date:   Sat Aug 6 13:52:53 2022 -0700

    gimarshallingtests: Fix annotation for GValue copy test
    
    The test returns a newly allocated GValue, so it should not be marked
    transfer none.

 tests/gimarshallingtests.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/gimarshallingtests.c b/tests/gimarshallingtests.c
index d15b2f10a..5d0caea4e 100644
--- a/tests/gimarshallingtests.c
+++ b/tests/gimarshallingtests.c
@@ -3577,7 +3577,7 @@ gi_marshalling_tests_gvalue_round_trip (GValue *value)
  * gi_marshalling_tests_gvalue_copy:
  * @value: The first GValue
  *
- * Returns: (transfer none):
+ * Returns: (transfer full):
  */
 GValue *
 gi_marshalling_tests_gvalue_copy (GValue *value)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]