[Xfce4-commits] <thunar:master> Don't use deprecated g_thread_init().
Nick Schermer
noreply at xfce.org
Thu Nov 1 19:58:01 CET 2012
Updating branch refs/heads/master
to 17bf70d04195a2341a7bb4ddfa7bc4841c584c7b (commit)
from 62969df2d0b72f45c67f27d0d62b32dcda5b02e7 (commit)
commit 17bf70d04195a2341a7bb4ddfa7bc4841c584c7b
Author: Nick Schermer <nick at xfce.org>
Date: Thu Nov 1 18:10:07 2012 +0100
Don't use deprecated g_thread_init().
thunar/main.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/thunar/main.c b/thunar/main.c
index 6386b46..218f90f 100644
--- a/thunar/main.c
+++ b/thunar/main.c
@@ -133,9 +133,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
/* get the startup notification id */
startup_id = g_getenv ("DESKTOP_STARTUP_ID");
More information about the Xfce4-commits
mailing list