aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_mixer.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 /test/read_mixer.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 '')
-rw-r--r--test/read_mixer.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/read_mixer.cxx b/test/read_mixer.cxx
index de77a00c4..587a0075e 100644
--- a/test/read_mixer.cxx
+++ b/test/read_mixer.cxx
@@ -28,10 +28,6 @@
#include "util/Error.hxx"
#include "Log.hxx"
-#ifdef HAVE_GLIB
-#include <glib.h>
-#endif
-
#include <assert.h>
#include <string.h>
#include <unistd.h>
@@ -52,12 +48,6 @@ int main(int argc, gcc_unused char **argv)
return EXIT_FAILURE;
}
-#ifdef HAVE_GLIB
-#if !GLIB_CHECK_VERSION(2,32,0)
- g_thread_init(NULL);
-#endif
-#endif
-
EventLoop event_loop;
Error error;