From 5cbc319e964fb037793b51920b4ed164e8ed90af Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 4 Dec 2014 23:58:48 +0100 Subject: 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. --- test/read_tags.cxx | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test/read_tags.cxx') diff --git a/test/read_tags.cxx b/test/read_tags.cxx index 91ac9c674..6d9a718ff 100644 --- a/test/read_tags.cxx +++ b/test/read_tags.cxx @@ -32,10 +32,6 @@ #include "thread/Cond.hxx" #include "Log.hxx" -#ifdef HAVE_GLIB -#include -#endif - #include #include #include @@ -90,12 +86,6 @@ int main(int argc, char **argv) decoder_name = argv[1]; const Path path = Path::FromFS(argv[2]); -#ifdef HAVE_GLIB -#if !GLIB_CHECK_VERSION(2,32,0) - g_thread_init(NULL); -#endif -#endif - const ScopeIOThread io_thread; Error error; -- cgit v1.2.3