[pybank] Pass the correct pointer to pyg_argument_to_pyobject
- From: Johan Dahlin <johan src gnome org>
- To: svn-commits-list gnome org
- Subject: [pybank] Pass the correct pointer to pyg_argument_to_pyobject
- Date: Tue, 2 Jun 2009 10:46:48 -0400 (EDT)
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]