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/dump_text_file.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/dump_text_file.cxx') diff --git a/test/dump_text_file.cxx b/test/dump_text_file.cxx index 93b0d0185..19502c7fd 100644 --- a/test/dump_text_file.cxx +++ b/test/dump_text_file.cxx @@ -109,7 +109,10 @@ int main(int argc, char **argv) /* initialize GLib */ +#if !GLIB_CHECK_VERSION(2,32,0) g_thread_init(NULL); +#endif + g_log_set_default_handler(my_log_func, NULL); /* initialize MPD */ -- cgit v1.2.3