diff options
author | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-18 13:11:11 -0400 |
---|---|---|
committer | Tomeu Vizoso <tomeu@sugarlabs.org> | 2010-04-18 13:15:07 -0400 |
commit | 8b70faa7a9a32b9ea8862f28a503e38f496cfd89 (patch) | |
tree | 139df2373cdc05b308dfd87ea46699eee8999f13 /gi/pygi-closure.c | |
parent | e239faacb4798fe2d166233ca1a19a843a6225e3 (diff) | |
download | pygi-8b70faa7a9a32b9ea8862f28a503e38f496cfd89.tar.gz pygi-8b70faa7a9a32b9ea8862f28a503e38f496cfd89.tar.xz pygi-8b70faa7a9a32b9ea8862f28a503e38f496cfd89.zip |
Implement vfuncs.
https://bugzilla.gnome.org/show_bug.cgi?id=602736
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; } |