1 diff --git a/common-src/glib-util.c b/common-src/glib-util.c
2 index 6a42e8e..99f55f7 100644
3 --- a/common-src/glib-util.c
4 +++ b/common-src/glib-util.c
5 @@ -38,12 +38,8 @@ glib_init(void) {
6 if (did_glib_init) return;
9 - /* set up libcurl (this must happen before threading
10 - * is initialized) */
11 + /* set up libcurl */
13 -# ifdef G_THREADS_ENABLED
14 - g_assert(!g_thread_supported()); /* assert threads aren't initialized yet */
16 g_assert(curl_global_init(CURL_GLOBAL_ALL) == 0);
19 @@ -64,12 +60,6 @@ glib_init(void) {
20 /* Initialize glib's type system. On glib >= 2.24, this will initialize
21 * threads, so it must be done after curl is initialized. */
24 - /* And set up glib's threads */
25 -#if defined(G_THREADS_ENABLED) && !defined(G_THREADS_IMPL_NONE)
26 - if (!g_thread_supported())
27 - g_thread_init(NULL);