=?utf-8?q?=5Balmanah=5D_core=3A_Don=27t_call_g=5Fthread=5Finit=28=29_if_w?= =?utf-8?q?e_have_GLib_=E2=89=A5_2=2E31=2E0?=



commit 6384f10c69d063656a26cc8fcd2c1103aa92dc3d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Jan 6 11:22:56 2012 +0000

    core: Don't call g_thread_init() if we have GLib â 2.31.0

 src/main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index ae45e13..9dbc75b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -29,7 +29,9 @@ main (int argc, char *argv[])
 	AlmanahApplication *application;
 	int status;
 
+#if !GLIB_CHECK_VERSION (2, 31, 0)
 	g_thread_init (NULL);
+#endif
 	g_type_init ();
 
 	application = almanah_application_new ();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]