diff options
author | Max Kellermann <max@duempel.org> | 2013-04-17 01:53:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-04-17 01:54:14 +0200 |
commit | 4a800b311f5dfde74956edb29dee99998ba1ced1 (patch) | |
tree | 8768e1bb0faa7fc061811972845da521754792cf /test/read_tags.cxx | |
parent | a4a13a382525527afeecd18f97e948bd6d0de64c (diff) | |
download | mpd-4a800b311f5dfde74956edb29dee99998ba1ced1.tar.gz mpd-4a800b311f5dfde74956edb29dee99998ba1ced1.tar.xz mpd-4a800b311f5dfde74956edb29dee99998ba1ced1.zip |
don't use g_thread_init() with GLib 2.32
Deprecated.
Diffstat (limited to 'test/read_tags.cxx')
-rw-r--r-- | test/read_tags.cxx | 3 |
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); |