diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:48:49 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:48:52 +0900 |
commit | ed14d55c2e6e867dceed5b50d601d4d83a838619 (patch) | |
tree | 5c86789730b159290064228379a48aa47781d52d /gi/pygi-invoke.c | |
parent | 265684897ba0b24e28710a988cab901acbec1775 (diff) | |
download | pygobject2-ed14d55c2e6e867dceed5b50d601d4d83a838619.tar.gz pygobject2-ed14d55c2e6e867dceed5b50d601d4d83a838619.tar.bz2 pygobject2-ed14d55c2e6e867dceed5b50d601d4d83a838619.zip |
Imported Upstream version 3.7.91.1
Change-Id: I3dcc605b8af37b73443f8f89d884b7b9659959c8
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/pygi-invoke.c')
-rw-r--r-- | gi/pygi-invoke.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/pygi-invoke.c b/gi/pygi-invoke.c index 96ffde3..0cbb9ca 100644 --- a/gi/pygi-invoke.c +++ b/gi/pygi-invoke.c @@ -366,7 +366,7 @@ static gboolean _caller_alloc (PyGIInvokeState *state, state->out_args[out_count].v_pointer = NULL; state->args[arg_count] = &state->out_args[out_count]; - if (iface_cache->g_type == G_TYPE_BOXED) { + if (g_type_is_a (iface_cache->g_type, G_TYPE_BOXED)) { state->args[arg_count]->v_pointer = _pygi_boxed_alloc (iface_cache->interface_info, NULL); } else if (iface_cache->g_type == G_TYPE_VALUE) { |