It's not needed any longer.
TCase *tc_chain, *tc_internet;
g_type_init ();
+
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
s = suite_create ("souphttpsrc");
tc_chain = tcase_create ("general");
GstPad *eq_sinkpad;
gchar *uri;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
/* command line option parsing */
ctx = g_option_context_new ("FILENAME");
GOptionContext *ctx;
GError *opt_err = NULL;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
gtk_init (&argc, &argv);
GOptionContext *ctx;
GError *err = NULL;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
ctx = g_option_context_new ("");
g_option_context_add_main_entries (ctx, options, NULL);
GstCaps *filter_caps = NULL;
GList *caps_list, *l;
+#if !GLIB_CHECK_VERSION (2, 31, 0)
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
/* command line option parsing */
ctx = g_option_context_new ("");