mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Remove deprecated no-op function (1/2)
Glib::thread_init has been deprecated since 2.32,ib is no longer necessary and no longer has any effect. This fixes builds with modern glib[mm] versions, notably with msys2 in Windows.
This commit is contained in:
parent
fc3b79dd58
commit
34609232f0
6 changed files with 0 additions and 19 deletions
|
|
@ -19,10 +19,6 @@ static const char* localedir = LOCALEDIR;
|
||||||
int
|
int
|
||||||
main(int argc, char* argv[])
|
main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
if (!Glib::thread_supported()) {
|
|
||||||
Glib::thread_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
const struct option longopts[] = {
|
const struct option longopts[] = {
|
||||||
{ "debug", 1, 0, 'D' },
|
{ "debug", 1, 0, 'D' },
|
||||||
{ 0, 0, 0, 0 }
|
{ 0, 0, 0, 0 }
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,6 @@
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
Glib::thread_init();
|
|
||||||
CppUnit::TextUi::TestRunner runner;
|
CppUnit::TextUi::TestRunner runner;
|
||||||
CppUnit::TestFactoryRegistry ®istry = CppUnit::TestFactoryRegistry::getRegistry();
|
CppUnit::TestFactoryRegistry ®istry = CppUnit::TestFactoryRegistry::getRegistry();
|
||||||
runner.addTest (registry.makeTest());
|
runner.addTest (registry.makeTest());
|
||||||
|
|
|
||||||
|
|
@ -87,10 +87,6 @@ PBD::init ()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (!Glib::thread_supported()) {
|
|
||||||
Glib::thread_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
Gio::init ();
|
Gio::init ();
|
||||||
|
|
||||||
PBD::ID::init ();
|
PBD::ID::init ();
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION (RCUTest);
|
||||||
void
|
void
|
||||||
RCUTest::setUp ()
|
RCUTest::setUp ()
|
||||||
{
|
{
|
||||||
if (!Glib::thread_supported ()) {
|
|
||||||
Glib::thread_init ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void*
|
static void*
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,6 @@ CPPUNIT_TEST_SUITE_REGISTRATION (SignalsTest);
|
||||||
void
|
void
|
||||||
SignalsTest::setUp ()
|
SignalsTest::setUp ()
|
||||||
{
|
{
|
||||||
if (!Glib::thread_supported ()) {
|
|
||||||
Glib::thread_init ();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class Emitter {
|
class Emitter {
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,6 @@
|
||||||
int
|
int
|
||||||
main(int argc, char* argv[])
|
main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
if (!Glib::thread_supported()) {
|
|
||||||
Glib::thread_init();
|
|
||||||
}
|
|
||||||
|
|
||||||
const struct option longopts[] = {
|
const struct option longopts[] = {
|
||||||
{ "debug", 1, 0, 'D' },
|
{ "debug", 1, 0, 'D' },
|
||||||
{ 0, 0, 0, 0 }
|
{ 0, 0, 0, 0 }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue