[evolution] Bug #599740 - Crashing in g_thread_init
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution] Bug #599740 - Crashing in g_thread_init
- Date: Tue, 27 Oct 2009 09:54:39 +0000 (UTC)
commit 362260797fe0c457ffba8d1c7bb92be469d0460f
Author: Milan Crha <mcrha redhat com>
Date: Tue Oct 27 10:53:48 2009 +0100
Bug #599740 - Crashing in g_thread_init
shell/main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/shell/main.c b/shell/main.c
index 9b03c7c..f5c757a 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]