summaryrefslogtreecommitdiff
path: root/libs/pbd/base_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/base_ui.cc')
-rw-r--r--libs/pbd/base_ui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/pbd/base_ui.cc b/libs/pbd/base_ui.cc
index 14a3ef644d..a7e148c839 100644
--- a/libs/pbd/base_ui.cc
+++ b/libs/pbd/base_ui.cc
@@ -83,7 +83,7 @@ BaseUI::main_thread ()
bool
BaseUI::signal_running ()
{
- Glib::Mutex::Lock lm (_run_lock);
+ Glib::Threads::Mutex::Lock lm (_run_lock);
_running.signal ();
return false; // don't call it again
@@ -101,8 +101,8 @@ BaseUI::run ()
/* glibmm hack - drop the refptr to the IOSource now before it can hurt */
request_channel.drop_ios ();
- Glib::Mutex::Lock lm (_run_lock);
- run_loop_thread = Thread::create (mem_fun (*this, &BaseUI::main_thread), true);
+ Glib::Threads::Mutex::Lock lm (_run_lock);
+ run_loop_thread = Glib::Threads::Thread::create (mem_fun (*this, &BaseUI::main_thread));
_running.wait (_run_lock);
}