diff options
Diffstat (limited to 'gi/pygi-callbacks.c')
-rw-r--r-- | gi/pygi-callbacks.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gi/pygi-callbacks.c b/gi/pygi-callbacks.c index cf6ebd9..fb852ff 100644 --- a/gi/pygi-callbacks.c +++ b/gi/pygi-callbacks.c @@ -202,10 +202,9 @@ _pygi_create_callback (PyGIBaseInfo *function_info, return FALSE; } - /** Now actually build the closure **/ *closure_out = _pygi_make_native_closure((GICallableInfo *)callback_info, - callback_arg, + g_arg_info_get_scope(callback_arg), py_function, py_user_data); |