[evolution-exchange] Call g_thread_init() conditionally
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Call g_thread_init() conditionally
- Date: Mon, 24 Oct 2011 07:43:33 +0000 (UTC)
commit 4958b38e8a8aad468e2c5439cab256478c205048
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 24 09:43:21 2011 +0200
Call g_thread_init() conditionally
tools/ximian-connector-setup.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/tools/ximian-connector-setup.c b/tools/ximian-connector-setup.c
index 747028c..7c33b4a 100644
--- a/tools/ximian-connector-setup.c
+++ b/tools/ximian-connector-setup.c
@@ -89,7 +89,9 @@ main (gint argc,
textdomain (GETTEXT_PACKAGE);
g_type_init ();
+ #if !GLIB_CHECK_VERSION(2,31,0)
g_thread_init (NULL);
+ #endif
gtk_init_with_args (&argc, &argv, NULL, NULL, (gchar *) GETTEXT_PACKAGE, &error);
if (error != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]