summaryrefslogtreecommitdiff
path: root/thunar-volman
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-12-09 21:13:17 +0100
committerNick Schermer <nick@xfce.org>2012-12-09 21:14:11 +0100
commit5d718273e091cb6b8d0bc77543bbd78a24a08c67 (patch)
tree49bf6079236c051c05c841d30ddd0a7ee49c4650 /thunar-volman
parent5d99cd2ab3b9cf90c04c14ac60d8e771c0f274d9 (diff)
downloadthunar-volman-5d718273e091cb6b8d0bc77543bbd78a24a08c67.tar.gz
Don't use deprecated API.
Diffstat (limited to 'thunar-volman')
-rw-r--r--thunar-volman/main.c2
1 files changed, 2 insertions, 0 deletions
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))