[giggle] src/giggle-main.c: Call g_thread_init() conditionally



commit 479cc76fbb66375fdef7112c9351cd1af8ea4770
Author: Javier JardÃn <jjardon gnome org>
Date:   Mon Oct 24 13:50:38 2011 +0100

    src/giggle-main.c: Call g_thread_init() conditionally
    
    Its has been deprecated in Glib 2.31

 src/giggle-main.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/giggle-main.c b/src/giggle-main.c
index 7a33ca3..2b339b0 100644
--- a/src/giggle-main.c
+++ b/src/giggle-main.c
@@ -65,7 +65,9 @@ main (int    argc,
 	textdomain (GETTEXT_PACKAGE);
 	setlocale (LC_ALL, "");
 
+#if !GLIB_CHECK_VERSION(2,31,0)
 	g_thread_init (NULL);
+#endif
 
 	gdk_threads_init ();
 	gdk_threads_enter ();



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