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/dump_text_file.cxx | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'test/dump_text_file.cxx') diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index 5bfd316a5..2ab95db5e 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -32,10 +32,6 @@ #include "archive/ArchiveList.hxx" #endif -#ifdef HAVE_GLIB -#include -#endif - #include #include #include @@ -79,14 +75,6 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - /* initialize GLib */ - -#ifdef HAVE_GLIB -#if !GLIB_CHECK_VERSION(2,32,0) - g_thread_init(NULL); -#endif -#endif - /* initialize MPD */ config_global_init(); -- cgit v1.2.3