summaryrefslogtreecommitdiff
path: root/tests/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/util.c')
-rw-r--r--tests/util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/util.c b/tests/util.c
index 44fee02ce..1bf9533c6 100644
--- a/tests/util.c
+++ b/tests/util.c
@@ -37,10 +37,12 @@ test_value_array_build (void)
G_TYPE_UINT, port,
G_TYPE_INVALID);
+ G_GNUC_BEGIN_IGNORE_DEPRECATIONS
g_assert_cmpstr (g_value_get_string (g_value_array_get_nth (arr, 0)), ==,
host);
g_assert_cmpuint (g_value_get_uint (g_value_array_get_nth (arr, 1)), ==,
port);
+ G_GNUC_END_IGNORE_DEPRECATIONS
tp_value_array_unpack (arr, 2,
&host_out,