[perl-Glib-Object-Introspection] Use the correct transfer setting for converting arrays



commit d6662c4cece9b29ec2f136e46689069b6ce4bb07
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Tue Nov 9 21:26:54 2010 +0100

    Use the correct transfer setting for converting arrays

 GObjectIntrospection.xs |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index 8df2f87..1186669 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -492,7 +492,6 @@ array_to_sv (GITypeInfo* info,
 	item_transfer = transfer == GI_TRANSFER_EVERYTHING
 		? GI_TRANSFER_EVERYTHING
 		: GI_TRANSFER_NOTHING;
-	item_transfer = GI_TRANSFER_NOTHING;
 
 	if (is_zero_terminated) {
 		length = g_strv_length (pointer);



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