diff options
author | Nick Schermer <nick@xfce.org> | 2012-12-09 21:13:17 +0100 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-12-09 21:14:11 +0100 |
commit | 5d718273e091cb6b8d0bc77543bbd78a24a08c67 (patch) | |
tree | 49bf6079236c051c05c841d30ddd0a7ee49c4650 /thunar-volman/main.c | |
parent | 5d99cd2ab3b9cf90c04c14ac60d8e771c0f274d9 (diff) | |
download | thunar-volman-5d718273e091cb6b8d0bc77543bbd78a24a08c67.tar.gz |
Don't use deprecated API.
Diffstat (limited to 'thunar-volman/main.c')
-rw-r--r-- | thunar-volman/main.c | 2 |
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)) |