From: Christian Dywan Date: Tue, 18 Nov 2008 01:46:59 +0000 (+0100) Subject: Always initialize threads, libSoup requires that X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c72977974d390852266376389061876d6f112375;p=midori Always initialize threads, libSoup requires that --- diff --git a/midori/main.c b/midori/main.c index a1e5f214..66eb90e9 100644 --- a/midori/main.c +++ b/midori/main.c @@ -1093,9 +1093,9 @@ main (int argc, return 1; } - #if HAVE_LIBSOUP + /* libSoup uses threads, therefore if WebKit is built with libSoup + or Midori is using it, we need to initialize threads. */ if (!g_thread_supported ()) g_thread_init (NULL); - #endif stock_items_init (); g_set_application_name (_("Midori"));