From 3cd8138a419cb165f56070ace0b21a1e63ec5a43 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 25 Jul 2012 17:48:55 +0000 Subject: convert from Glib:: to Glib::Threads for all thread-related API git-svn-id: svn://localhost/ardour2/branches/3.0@13084 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/pbd/base_ui.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/pbd/base_ui.cc') 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); } -- cgit v1.2.3