[Xfce4-commits] [xfce/xfdesktop] 15/19: workaround g_thread_init is deprecated in glib 2.32

noreply at xfce.org noreply at xfce.org
Sun Nov 9 15:36:57 CET 2014


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch xfce-4.10
in repository xfce/xfdesktop.

commit 257e5b70f509e1a906e24b8accee2b820b7de25d
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Mon Nov 3 11:06:52 2014 +0300

    workaround g_thread_init is deprecated in glib 2.32
---
 src/main.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main.c b/src/main.c
index 76b275b..46d25ca 100644
--- a/src/main.c
+++ b/src/main.c
@@ -255,7 +255,9 @@ main(int argc, char **argv)
     xfce_textdomain(GETTEXT_PACKAGE, LOCALEDIR, "UTF-8");
     
 #if defined(ENABLE_FILE_ICONS) || defined(USE_DESKTOP_MENU)
+#if !GLIB_CHECK_VERSION(2, 32, 0)
     g_thread_init(NULL);
+#endif /* GLIB_CHECK_VERSION */
 #endif
 #ifdef ENABLE_FILE_ICONS
     dbus_g_thread_init();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list