aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-13 22:42:21 +0200
committerMax Kellermann <max@duempel.org>2011-09-13 22:42:21 +0200
commit9c46cc4ea0d340f03d0cc944bbf59ccbb674f036 (patch)
treefe324c1c329813fc116dc472e548dbce3e15193b
parenta236a439cc84035a70c3f43fd926d39b9d8caaf7 (diff)
downloadmpd-9c46cc4ea0d340f03d0cc944bbf59ccbb674f036.tar.gz
mpd-9c46cc4ea0d340f03d0cc944bbf59ccbb674f036.tar.xz
mpd-9c46cc4ea0d340f03d0cc944bbf59ccbb674f036.zip
test/read_tags: call g_thread_init()
Needed for the I/O thread.
Diffstat (limited to '')
-rw-r--r--test/read_tags.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index 64535a87f..541f0398f 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -166,6 +166,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
path = argv[2];
+ g_thread_init(NULL);
io_thread_init();
if (!io_thread_start(&error)) {
g_warning("%s", error->message);