[Xfce4-commits] <garcon:master> g_thread_init is deprecated since glib 2.32.

Jérôme Guelfucci noreply at xfce.org
Sun Aug 5 16:58:01 CEST 2012


Updating branch refs/heads/master
         to 07bdc7fd85453ae5e9e0c7b15b388060cda363ca (commit)
       from 1b9077289b6a6cb7381d393c6f4b8a4bff1c50ed (commit)

commit 07bdc7fd85453ae5e9e0c7b15b388060cda363ca
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Sun Aug 5 15:53:15 2012 +0200

    g_thread_init is deprecated since glib 2.32.

 tests/test-menu-parser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tests/test-menu-parser.c b/tests/test-menu-parser.c
index 350b40c..7e6beed 100644
--- a/tests/test-menu-parser.c
+++ b/tests/test-menu-parser.c
@@ -223,8 +223,10 @@ main (int    argc,
 
   g_type_init ();
 
+#if !GLIB_CHECK_VERSION(2,32,0)
   if (!g_thread_supported ())
     g_thread_init (NULL);
+#endif
 
   garcon_set_environment ("XFCE");
 


More information about the Xfce4-commits mailing list