From 8fd2713132b390237c9753d71bcaa4f0a4b8095c Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 1 Jun 2009 06:41:57 +0200 Subject: [PATCH] Initialize threading in completion test since location uses libsoup --- tests/completion.c | 2 ++ 1 file changed, 2 insertions(+) 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);