diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:41:46 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2017-07-12 08:41:50 +0900 |
commit | 5a89ec21697bd9e08c9102b2a7b6c60b4652e66c (patch) | |
tree | e9e20b8b8764a0dd9f82ea1e574ec777b9fa67f6 /tests/testhelpermodule.c | |
parent | b0a50e7198747efb1d09dca4a1778148beac9576 (diff) | |
download | pygobject2-5a89ec21697bd9e08c9102b2a7b6c60b4652e66c.tar.gz pygobject2-5a89ec21697bd9e08c9102b2a7b6c60b4652e66c.tar.bz2 pygobject2-5a89ec21697bd9e08c9102b2a7b6c60b4652e66c.zip |
Imported Upstream version 3.13.1
Change-Id: If4647282414d88e0de6e0f879ba00a88843f7510
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r-- | tests/testhelpermodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c index 9b198c3..66c0155 100644 --- a/tests/testhelpermodule.c +++ b/tests/testhelpermodule.c @@ -513,7 +513,10 @@ _wrap_test_value_array(PyObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "O", &obj)) return NULL; + G_GNUC_BEGIN_IGNORE_DEPRECATIONS g_value_init(value, G_TYPE_VALUE_ARRAY); + G_GNUC_END_IGNORE_DEPRECATIONS + if (pyg_value_from_pyobject(value, obj)) { PyErr_SetString(PyExc_TypeError, "Could not convert to GValueArray"); return NULL; |