From e633d1f5ad23e6ef092c0b5cfac1baa6c1c057dd Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Wed, 30 Jul 2014 12:38:40 +0200 Subject: Avoid annoying g_type_init deprecation warnings --- test/test-mock.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/test-mock.c') diff --git a/test/test-mock.c b/test/test-mock.c index 10c0a36..facae53 100644 --- a/test/test-mock.c +++ b/test/test-mock.c @@ -223,7 +223,9 @@ test_signal (Fixture *fixture, gconstpointer data) int main (int argc, char *argv[]) { +#if !(GLIB_CHECK_VERSION (2, 36, 0)) g_type_init (); +#endif g_test_init (&argc, &argv, NULL); g_test_bug_base ("http://ufo.kit.edu/ufo/ticket"); -- cgit v1.2.3