diff options
author | Christian Persch <chpe@svn.gnome.org> | 2007-01-01 01:00:43 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2007-01-01 01:00:43 +0800 |
commit | bfbe197a475085dd85d5741bcd06c4865c873d9d (patch) | |
tree | 07f34139af3e19e6875f78d9d82fe844ea2dd275 /src/ephy-main.c | |
parent | e4c8ce77919b315e43f1d9db007e5a29dd99c15f (diff) | |
download | gsoc2013-epiphany-bfbe197a475085dd85d5741bcd06c4865c873d9d.tar.gz gsoc2013-epiphany-bfbe197a475085dd85d5741bcd06c4865c873d9d.tar.zst gsoc2013-epiphany-bfbe197a475085dd85d5741bcd06c4865c873d9d.zip |
Make sure to init gthread as first call to glib.
2006-12-31 Christian Persch <chpe@svn.gnome.org>
* src/ephy-main.c: (main):
Make sure to init gthread as first call to glib.
svn path=/trunk/; revision=6775
Diffstat (limited to 'src/ephy-main.c')
-rw-r--r-- | src/ephy-main.c | 4 |
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. */ |