summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/souphttpsrc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/check/elements/souphttpsrc.c b/tests/check/elements/souphttpsrc.c
index ba20ab9c..01123699 100644
--- a/tests/check/elements/souphttpsrc.c
+++ b/tests/check/elements/souphttpsrc.c
@@ -441,7 +441,8 @@ souphttpsrc_suite (void)
TCase *tc_chain, *tc_internet;
g_type_init ();
- g_thread_init (NULL);
+ if (!g_thread_supported ())
+ g_thread_init (NULL);
s = suite_create ("souphttpsrc");
tc_chain = tcase_create ("general");