diff options
author | Max Kellermann <max@duempel.org> | 2014-12-04 23:58:48 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-05 00:21:48 +0100 |
commit | 5cbc319e964fb037793b51920b4ed164e8ed90af (patch) | |
tree | 4e1c98717312c28610cd219471f1c057dd470ab1 /test/visit_archive.cxx | |
parent | d435dcdca46fd239cb4d25fa3c9db5c589a6a553 (diff) | |
download | mpd-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 '')
-rw-r--r-- | test/visit_archive.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/visit_archive.cxx b/test/visit_archive.cxx index 1ff3ba484..97b22bec6 100644 --- a/test/visit_archive.cxx +++ b/test/visit_archive.cxx @@ -30,10 +30,6 @@ #include "fs/Path.hxx" #include "util/Error.hxx" -#ifdef HAVE_GLIB -#include <glib.h> -#endif - #include <unistd.h> #include <stdlib.h> @@ -57,14 +53,6 @@ main(int argc, char **argv) const char *plugin_name = argv[1]; const Path path = Path::FromFS(argv[2]); - /* initialize GLib */ - -#ifdef HAVE_GLIB -#if !GLIB_CHECK_VERSION(2,32,0) - g_thread_init(NULL); -#endif -#endif - /* initialize MPD */ config_global_init(); |