diff options
author | Jens Georg <mail@jensge.org> | 2012-11-30 14:40:19 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2012-11-30 14:40:41 +0100 |
commit | fdf8971e263af0fb082849c6a63b9147c4079311 (patch) | |
tree | 3e6ae6435df6a7c9fabcdb495b5c0dc09a017bc8 /tests | |
parent | c46f1f5e7f45217d584d0e9afdef0320d19537da (diff) | |
download | gssdp-fdf8971e263af0fb082849c6a63b9147c4079311.tar.gz |
More g_type_init deprecation
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gtest/test-functional.c | 2 | ||||
-rw-r--r-- | tests/gtest/test-regression.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/gtest/test-functional.c b/tests/gtest/test-functional.c index 2908b25..e263ecf 100644 --- a/tests/gtest/test-functional.c +++ b/tests/gtest/test-functional.c @@ -489,7 +489,9 @@ test_discovery_versioned_ignore_older (void) int main(int argc, char *argv[]) { +#if !GLIB_CHECK_VERSION (2, 35, 0) g_type_init (); +#endif g_test_init (&argc, &argv, NULL); g_test_add_func ("/functional/resource-group/discovery/ssdp:all", diff --git a/tests/gtest/test-regression.c b/tests/gtest/test-regression.c index 4459b28..a68e44c 100644 --- a/tests/gtest/test-regression.c +++ b/tests/gtest/test-regression.c @@ -250,7 +250,9 @@ void test_bgo682099 (void) int main (int argc, char *argv[]) { +#if !GLIB_CHECK_VERSION (2, 35, 0) g_type_init (); +#endif g_test_init (&argc, &argv, NULL); if (g_test_slow ()) { |