diff --git a/libs/ardour/test/testrunner.cc b/libs/ardour/test/testrunner.cc index 41bc52393c..f30129332b 100644 --- a/libs/ardour/test/testrunner.cc +++ b/libs/ardour/test/testrunner.cc @@ -19,10 +19,6 @@ static const char* localedir = LOCALEDIR; int main(int argc, char* argv[]) { - if (!Glib::thread_supported()) { - Glib::thread_init(); - } - const struct option longopts[] = { { "debug", 1, 0, 'D' }, { 0, 0, 0, 0 } diff --git a/libs/audiographer/tests/test_runner.cc b/libs/audiographer/tests/test_runner.cc index d378b5e4cb..594794d192 100644 --- a/libs/audiographer/tests/test_runner.cc +++ b/libs/audiographer/tests/test_runner.cc @@ -4,7 +4,6 @@ int main() { - Glib::thread_init(); CppUnit::TextUi::TestRunner runner; CppUnit::TestFactoryRegistry ®istry = CppUnit::TestFactoryRegistry::getRegistry(); runner.addTest (registry.makeTest()); diff --git a/libs/pbd/pbd.cc b/libs/pbd/pbd.cc index c19af3e462..7248ec7705 100644 --- a/libs/pbd/pbd.cc +++ b/libs/pbd/pbd.cc @@ -87,10 +87,6 @@ PBD::init () } #endif - if (!Glib::thread_supported()) { - Glib::thread_init(); - } - Gio::init (); PBD::ID::init (); diff --git a/libs/pbd/test/rcu_test.cc b/libs/pbd/test/rcu_test.cc index 36221281fe..7fb736cfac 100644 --- a/libs/pbd/test/rcu_test.cc +++ b/libs/pbd/test/rcu_test.cc @@ -15,9 +15,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION (RCUTest); void RCUTest::setUp () { - if (!Glib::thread_supported ()) { - Glib::thread_init (); - } } static void* diff --git a/libs/pbd/test/signals_test.cc b/libs/pbd/test/signals_test.cc index 27a2aa8359..61a0503b66 100644 --- a/libs/pbd/test/signals_test.cc +++ b/libs/pbd/test/signals_test.cc @@ -10,9 +10,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION (SignalsTest); void SignalsTest::setUp () { - if (!Glib::thread_supported ()) { - Glib::thread_init (); - } } class Emitter { diff --git a/libs/temporal/test/testrunner.cc b/libs/temporal/test/testrunner.cc index 9222e3caf0..cbecd687da 100644 --- a/libs/temporal/test/testrunner.cc +++ b/libs/temporal/test/testrunner.cc @@ -17,10 +17,6 @@ int main(int argc, char* argv[]) { - if (!Glib::thread_supported()) { - Glib::thread_init(); - } - const struct option longopts[] = { { "debug", 1, 0, 'D' }, { 0, 0, 0, 0 }