Initialize threading in completion test since location uses libsoup

This commit is contained in:
Christian Dywan 2009-06-01 06:41:57 +02:00
parent 5f27b80ce4
commit 8fd2713132

View file

@ -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);