Always initialize threads, libSoup requires that
This commit is contained in:
parent
9158e33567
commit
c72977974d
1 changed files with 2 additions and 2 deletions
|
@ -1093,9 +1093,9 @@ main (int argc,
|
||||||
return 1;
|
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);
|
if (!g_thread_supported ()) g_thread_init (NULL);
|
||||||
#endif
|
|
||||||
stock_items_init ();
|
stock_items_init ();
|
||||||
g_set_application_name (_("Midori"));
|
g_set_application_name (_("Midori"));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue