[pybank] Pass the correct pointer to pyg_argument_to_pyobject



commit d994df7718644fc0b7669a6e9aebebc10447e1c9
Author: Tomeu Vizoso <tomeu sugarlabs org>
Date:   Wed May 27 11:12:51 2009 +0200

    Pass the correct pointer to pyg_argument_to_pyobject
---
 bank/bank-info.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bank/bank-info.c b/bank/bank-info.c
index c0d28ed..f60f616 100644
--- a/bank/bank-info.c
+++ b/bank/bank-info.c
@@ -582,7 +582,7 @@ _wrap_g_function_info_invoke(PyGIBaseInfo *self, PyObject *args)
             g_assert(next_rval < n_return_values);
             g_assert(out_args_pos < expected_out_argc);
 
-            PyObject *obj = pyg_argument_to_pyobject(&out_args[out_args_pos], arg_type_info);
+            PyObject *obj = pyg_argument_to_pyobject(out_args[out_args_pos].v_pointer, arg_type_info);
             if (obj == NULL) {
                 return NULL;
             }



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