[gobject-introspection] Regress: fix GVariant tests
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Regress: fix GVariant tests
- Date: Thu, 2 Jun 2011 15:19:52 +0000 (UTC)
commit e70cdbce955475915ea441bdbd45d02d825786f6
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Wed May 25 20:32:33 2011 +0200
Regress: fix GVariant tests
Functions that return floating GVariants must be marked (transfer
none).
https://bugzilla.gnome.org/show_bug.cgi?id=622344
tests/scanner/regress.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
index 9d4d781..7756f20 100644
--- a/tests/scanner/regress.c
+++ b/tests/scanner/regress.c
@@ -327,7 +327,7 @@ regress_test_cairo_surface_full_out (cairo_surface_t **surface)
/**
* regress_test_gvariant_i:
*
- * Returns: (transfer full): New variant
+ * Returns: (transfer none): New variant
*/
GVariant *
regress_test_gvariant_i (void)
@@ -338,7 +338,7 @@ regress_test_gvariant_i (void)
/**
* regress_test_gvariant_s:
*
- * Returns: (transfer full): New variant
+ * Returns: (transfer none): New variant
*/
GVariant *
regress_test_gvariant_s (void)
@@ -349,7 +349,7 @@ regress_test_gvariant_s (void)
/**
* regress_test_gvariant_asv:
*
- * Returns: (transfer full): New variant
+ * Returns: (transfer none): New variant
*/
GVariant *
regress_test_gvariant_asv (void)
@@ -367,7 +367,7 @@ regress_test_gvariant_asv (void)
/**
* regress_test_gvariant_v:
*
- * Returns: (transfer full): New variant
+ * Returns: (transfer none): New variant
*/
GVariant *
regress_test_gvariant_v (void)
@@ -378,7 +378,7 @@ regress_test_gvariant_v (void)
/**
* regress_test_gvariant_as:
*
- * Returns: (transfer full): New variant
+ * Returns: (transfer none): New variant
*/
GVariant *
regress_test_gvariant_as (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]