aboutsummaryrefslogtreecommitdiffstats
path: root/src/Main.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-04 23:58:48 +0100
committerMax Kellermann <max@duempel.org>2014-12-05 00:21:48 +0100
commit5cbc319e964fb037793b51920b4ed164e8ed90af (patch)
tree4e1c98717312c28610cd219471f1c057dd470ab1 /src/Main.cxx
parentd435dcdca46fd239cb4d25fa3c9db5c589a6a553 (diff)
downloadmpd-5cbc319e964fb037793b51920b4ed164e8ed90af.tar.gz
mpd-5cbc319e964fb037793b51920b4ed164e8ed90af.tar.xz
mpd-5cbc319e964fb037793b51920b4ed164e8ed90af.zip
configure.ac: require GLib 2.32 (if enabled)
Since version 2.32, g_thread_init() is deprecated and a no-op. Let's upgrade that (optional) dependency so we can remove all those g_thread_init() calls.
Diffstat (limited to 'src/Main.cxx')
-rw-r--r--src/Main.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index b31c51b4d..9972b5cdd 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -437,11 +437,6 @@ int mpd_main(int argc, char *argv[])
#ifdef HAVE_GLIB
g_set_application_name("Music Player Daemon");
-
-#if !GLIB_CHECK_VERSION(2,32,0)
- /* enable GLib's thread safety code */
- g_thread_init(nullptr);
-#endif
#endif
#endif