aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ephy-main.c b/src/ephy-main.c
index 3ad0b84ed..bd2f2a4f1 100644
--- a/src/ephy-main.c
+++ b/src/ephy-main.c
@@ -427,6 +427,10 @@ main (int argc,
textdomain (GETTEXT_PACKAGE);
#endif
+ /* Threads have to be initialised before calling ANY glib function */
+ g_thread_init (NULL);
+ dbus_g_thread_init ();
+
/* check libxml2 API version epiphany was compiled with against the
* version we're running with.
*/