summaryrefslogtreecommitdiff
path: root/tests/test-fallback.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2014-01-20 12:07:18 +0000
committerOlivier CrĂȘte <olivier.crete@collabora.com>2014-01-31 01:49:00 -0500
commitb222b1bff3950e162a621e199c6897206fa45a4e (patch)
tree6f020b5eb5fdcbbf5c8c095cfae5b272202af277 /tests/test-fallback.c
parent7a05b330cdb1fff6cd082b473ae8f2f10c2cdd2b (diff)
downloadlibnice-b222b1bff3950e162a621e199c6897206fa45a4e.tar.gz
tests: Remove redundant GLIB_CHECK_VERSION checks
Since we define GLIB_VERSION_MIN_REQUIRED, GLib will not emit deprecated function call warnings for functions like g_type_init() or g_thread_init().
Diffstat (limited to 'tests/test-fallback.c')
-rw-r--r--tests/test-fallback.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-fallback.c b/tests/test-fallback.c
index 007fa7b..f97cb0d 100644
--- a/tests/test-fallback.c
+++ b/tests/test-fallback.c
@@ -492,9 +492,7 @@ int main (void)
WSAStartup(0x0202, &w);
#endif
g_type_init ();
-#if !GLIB_CHECK_VERSION(2,31,8)
g_thread_init (NULL);
-#endif
global_mainloop = g_main_loop_new (NULL, FALSE);