aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_tags.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/read_tags.cxx')
-rw-r--r--test/read_tags.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/read_tags.cxx b/test/read_tags.cxx
index 1ceddf1d5..4c0b1c92d 100644
--- a/test/read_tags.cxx
+++ b/test/read_tags.cxx
@@ -159,7 +159,10 @@ int main(int argc, char **argv)
decoder_name = argv[1];
path = argv[2];
+#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(NULL);
+#endif
+
io_thread_init();
if (!io_thread_start(&error)) {
g_warning("%s", error->message);