aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test-stardict.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test-stardict.c b/src/test-stardict.c
index 8f7f798..cfb58bb 100644
--- a/src/test-stardict.c
+++ b/src/test-stardict.c
@@ -412,8 +412,11 @@ int
main (int argc, char *argv[])
{
g_test_init (&argc, &argv, NULL);
+
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
if (glib_check_version (2, 36, 0))
g_type_init ();
+G_GNUC_END_IGNORE_DEPRECATIONS
Dictionary *dict = dictionary_create ();