From: Christian Dywan Date: Mon, 1 Jun 2009 04:41:57 +0000 (+0200) Subject: Initialize threading in completion test since location uses libsoup X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fd2713132b390237c9753d71bcaa4f0a4b8095c;p=midori Initialize threading in completion test since location uses libsoup --- diff --git a/tests/completion.c b/tests/completion.c index 80ca112a..ff802bc1 100644 --- a/tests/completion.c +++ b/tests/completion.c @@ -282,6 +282,8 @@ int main (int argc, char** argv) { + /* libSoup uses threads, so we need to initialize threads. */ + if (!g_thread_supported ()) g_thread_init (NULL); g_test_init (&argc, &argv, NULL); gtk_init_check (&argc, &argv);