[pygobject/invoke-rewrite] [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
- From: John Palmieri <johnp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject/invoke-rewrite] [gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
- Date: Tue, 31 May 2011 20:01:33 +0000 (UTC)
commit 1954c75b94a74259b4e5d28f5ff8d76aa4610832
Author: John (J5) Palmieri <johnp redhat com>
Date: Tue May 31 14:47:30 2011 -0400
[gi-invoke-ng] handle arrays with transfers of GI_TRANSFER_CONTAINER
gi/pygi-marshal-cleanup.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-marshal-cleanup.c b/gi/pygi-marshal-cleanup.c
index 6e84125..645ad2e 100644
--- a/gi/pygi-marshal-cleanup.c
+++ b/gi/pygi-marshal-cleanup.c
@@ -312,7 +312,8 @@ _pygi_marshal_cleanup_out_array (PyGIInvokeState *state,
{
PyGISequenceCache *sequence_cache = (PyGISequenceCache *)arg_cache;
- if (arg_cache->transfer == GI_TRANSFER_EVERYTHING) {
+ if (arg_cache->transfer == GI_TRANSFER_EVERYTHING ||
+ arg_cache->transfer == GI_TRANSFER_CONTAINER) {
GArray *array_ = (GArray *) data;
if (sequence_cache->array_type == GI_ARRAY_TYPE_C) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]