[Xfce4-commits] <exo:master> g_thread_init is deprecated since glib 2.32.
Jérôme Guelfucci
noreply at xfce.org
Sun Aug 5 23:18:01 CEST 2012
Updating branch refs/heads/master
to 823db1341e200fa5ef6407b06d41058d978f03b1 (commit)
from 81c8efb7b3a812913bd6d3adba2f2ef09409f630 (commit)
commit 823db1341e200fa5ef6407b06d41058d978f03b1
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date: Sun Aug 5 23:14:09 2012 +0200
g_thread_init is deprecated since glib 2.32.
exo-desktop-item-edit/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/exo-desktop-item-edit/main.c b/exo-desktop-item-edit/main.c
index 62ba7f8..29d6b8f 100644
--- a/exo-desktop-item-edit/main.c
+++ b/exo-desktop-item-edit/main.c
@@ -161,9 +161,11 @@ main (int argc, char **argv)
g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
#endif
+#if !GLIB_CHECK_VERSION(2,32,0)
/* initialize the GThread system */
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
/* initialize Gtk+ */
if (!gtk_init_with_args (&argc, &argv, _("[FILE|FOLDER]"), option_entries, GETTEXT_PACKAGE, &error))
More information about the Xfce4-commits
mailing list