summaryrefslogtreecommitdiff
path: root/test/dump_text_file.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump_text_file.cxx')
-rw-r--r--test/dump_text_file.cxx3
1 files changed, 3 insertions, 0 deletions
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 */