summaryrefslogtreecommitdiff
path: root/gi/pygi-struct-marshal.c
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-02-13 23:26:03 +0100
committerChristoph Reiter <reiter.christoph@gmail.com>2018-02-13 22:32:44 +0000
commitfa555767464fbe551b14cfbc121febc5290b1371 (patch)
treea9a6f06b2116017abe8d925f479da9884e3a97bb /gi/pygi-struct-marshal.c
parent10c062001ddd948b0a70545cbf613b38ed6fa46c (diff)
downloadpygobject-fa555767464fbe551b14cfbc121febc5290b1371.tar.gz
Revert "to python marshalling: collect cleanup data"
This reverts commit 80eab029ce4e181624d7b845a4b517051797080d.
Diffstat (limited to 'gi/pygi-struct-marshal.c')
-rw-r--r--gi/pygi-struct-marshal.c5
1 files changed, 2 insertions, 3 deletions
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)
{