summaryrefslogtreecommitdiff
path: root/tests/test-restart.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-restart.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-restart.c')
-rw-r--r--tests/test-restart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-restart.c b/tests/test-restart.c
index c46b459..425f825 100644
--- a/tests/test-restart.c
+++ b/tests/test-restart.c
@@ -402,9 +402,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);