Commit 43466b3b authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête

examples: Remove g_type_init() call for recent GLib versions

parent 3e29fec4
......@@ -92,7 +92,9 @@ main(int argc, char *argv[])
g_debug("Using stun server '[%s]:%u'\n", stun_addr, stun_port);
}
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init();
#endif
gloop = g_main_loop_new(NULL, FALSE);
......
......@@ -101,7 +101,9 @@ main(int argc, char *argv[])
g_debug("Using stun server '[%s]:%u'\n", stun_addr, stun_port);
}
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init();
#endif
gloop = g_main_loop_new(NULL, FALSE);
io_stdin = g_io_channel_unix_new(fileno(stdin));
......
......@@ -101,7 +101,9 @@ main(int argc, char *argv[])
g_debug("Using stun server '[%s]:%u'\n", stun_addr, stun_port);
}
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init();
#endif
gloop = g_main_loop_new(NULL, FALSE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment