From 4a800b311f5dfde74956edb29dee99998ba1ced1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 17 Apr 2013 01:53:10 +0200 Subject: don't use g_thread_init() with GLib 2.32 Deprecated. --- test/run_output.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/run_output.cxx') diff --git a/test/run_output.cxx b/test/run_output.cxx index 8c5007a9e..399d8e731 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -196,7 +196,9 @@ int main(int argc, char **argv) audio_format_init(&audio_format, 44100, SAMPLE_FORMAT_S16, 2); +#if !GLIB_CHECK_VERSION(2,32,0) g_thread_init(NULL); +#endif /* read configuration file (mpd.conf) */ -- cgit v1.2.3