From fa555767464fbe551b14cfbc121febc5290b1371 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Tue, 13 Feb 2018 23:26:03 +0100 Subject: Revert "to python marshalling: collect cleanup data" This reverts commit 80eab029ce4e181624d7b845a4b517051797080d. --- gi/pygi-struct-marshal.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gi/pygi-struct-marshal.c') diff --git a/gi/pygi-struct-marshal.c b/gi/pygi-struct-marshal.c index f1b9f13b..d594239f 100644 --- a/gi/pygi-struct-marshal.c +++ b/gi/pygi-struct-marshal.c @@ -435,8 +435,7 @@ static PyObject * arg_struct_to_py_marshal_adapter (PyGIInvokeState *state, PyGICallableCache *callable_cache, PyGIArgCache *arg_cache, - GIArgument *arg, - gpointer *cleanup_data) + GIArgument *arg) { PyGIInterfaceCache *iface_cache = (PyGIInterfaceCache *)arg_cache; @@ -452,7 +451,7 @@ arg_struct_to_py_marshal_adapter (PyGIInvokeState *state, static void arg_foreign_to_py_cleanup (PyGIInvokeState *state, PyGIArgCache *arg_cache, - gpointer cleanup_data, + PyObject *dummy, gpointer data, gboolean was_processed) { -- cgit v1.2.1