Initialize threading in completion test since location uses libsoup
This commit is contained in:
parent
5f27b80ce4
commit
8fd2713132
1 changed files with 2 additions and 0 deletions
|
@ -282,6 +282,8 @@ int
|
||||||
main (int argc,
|
main (int argc,
|
||||||
char** argv)
|
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);
|
g_test_init (&argc, &argv, NULL);
|
||||||
gtk_init_check (&argc, &argv);
|
gtk_init_check (&argc, &argv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue