diff options
Diffstat (limited to 'gi/pygi-closure.c')
-rw-r--r-- | gi/pygi-closure.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gi/pygi-closure.c b/gi/pygi-closure.c index 0ad8fef..35373d2 100644 --- a/gi/pygi-closure.c +++ b/gi/pygi-closure.c @@ -170,7 +170,7 @@ void _pygi_invoke_closure_free(gpointer data) PyGICClosure* _pygi_make_native_closure (GICallableInfo* info, - GIArgInfo* arg_info, + GIScopeType scope, PyObject *py_function, gpointer py_user_data) { @@ -199,7 +199,7 @@ _pygi_make_native_closure (GICallableInfo* info, /* Give the closure the information it needs to determine when to free itself later */ - closure->scope = g_arg_info_get_scope(arg_info); + closure->scope = scope; return closure; } |