[gtkhtml] Call g_thread_init() conditionally
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkhtml] Call g_thread_init() conditionally
- Date: Mon, 24 Oct 2011 07:41:46 +0000 (UTC)
commit 2ea79774d49ebd73bdb67bb18e0e68fa6092e68f
Author: Milan Crha <mcrha redhat com>
Date: Mon Oct 24 09:41:21 2011 +0200
Call g_thread_init() conditionally
components/editor/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/components/editor/main.c b/components/editor/main.c
index 9f84da8..e345779 100644
--- a/components/editor/main.c
+++ b/components/editor/main.c
@@ -370,7 +370,9 @@ main (gint argc,
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ #if !GLIB_CHECK_VERSION(2,31,0)
g_thread_init (NULL);
+ #endif
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]