[Xfce4-commits] <thunar-volman:master> Don't use deprecated API.
Nick Schermer
noreply at xfce.org
Sun Dec 9 21:16:01 CET 2012
Updating branch refs/heads/master
to 5d718273e091cb6b8d0bc77543bbd78a24a08c67 (commit)
from 5d99cd2ab3b9cf90c04c14ac60d8e771c0f274d9 (commit)
commit 5d718273e091cb6b8d0bc77543bbd78a24a08c67
Author: Nick Schermer <nick at xfce.org>
Date: Sun Dec 9 21:13:17 2012 +0100
Don't use deprecated API.
thunar-volman-settings/main.c | 2 ++
thunar-volman/main.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/thunar-volman-settings/main.c b/thunar-volman-settings/main.c
index f58aba7..dc271ba 100644
--- a/thunar-volman-settings/main.c
+++ b/thunar-volman-settings/main.c
@@ -56,9 +56,11 @@ main (int argc,
g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
#endif
+#if !GLIB_CHECK_VERSION (2, 32, 0)
/* initialize the threading system */
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
/* initialize GTK+ */
if (!gtk_init_with_args (&argc, &argv, NULL, NULL, GETTEXT_PACKAGE, &error))
diff --git a/thunar-volman/main.c b/thunar-volman/main.c
index 3449803..9ae538e 100644
--- a/thunar-volman/main.c
+++ b/thunar-volman/main.c
@@ -97,9 +97,11 @@ main (int argc,
g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL | G_LOG_LEVEL_WARNING);
#endif
+#if !GLIB_CHECK_VERSION (2, 32, 0)
/* initialize the threading system */
if (!g_thread_supported ())
g_thread_init (NULL);
+#endif
/* initialize GTK+ */
if (!gtk_init_with_args (&argc, &argv, NULL, option_entries, GETTEXT_PACKAGE, &error))
More information about the Xfce4-commits
mailing list