aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2009-10-27 17:53:48 +0800
committerMilan Crha <mcrha@redhat.com>2009-10-27 17:53:48 +0800
commit362260797fe0c457ffba8d1c7bb92be469d0460f (patch)
treedcf936e44fc42fb6ad494a3ab18ad9831232cda5 /shell
parentd44ba85897e4130433b4ec85d4f4b1f3137a928e (diff)
downloadgsoc2013-evolution-362260797fe0c457ffba8d1c7bb92be469d0460f.tar.gz
gsoc2013-evolution-362260797fe0c457ffba8d1c7bb92be469d0460f.tar.zst
gsoc2013-evolution-362260797fe0c457ffba8d1c7bb92be469d0460f.zip
Bug #599740 - Crashing in g_thread_init
Diffstat (limited to 'shell')
-rw-r--r--shell/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c
index 9b03c7c4cc..f5c757af0b 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -521,7 +521,8 @@ main (gint argc, gchar **argv)
}
g_type_init ();
- g_thread_init (NULL);
+ if (!g_thread_get_initialized ())
+ g_thread_init (NULL);
dbus_g_thread_init ();
#ifdef G_OS_WIN32