diff options
Diffstat (limited to 'gtk2_ardour/strip_silence_dialog.h')
-rw-r--r-- | gtk2_ardour/strip_silence_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/strip_silence_dialog.h b/gtk2_ardour/strip_silence_dialog.h index 18313941c1..5ba88812d7 100644 --- a/gtk2_ardour/strip_silence_dialog.h +++ b/gtk2_ardour/strip_silence_dialog.h @@ -18,7 +18,7 @@ */ #include <gtkmm/spinbutton.h> -#include <glibmm/thread.h> +#include <glibmm/threads.h> #include "ardour/types.h" #include "ardour_dialog.h" @@ -84,8 +84,8 @@ private: pthread_t _thread; ///< thread to compute silence in the background static void * _detection_thread_work (void *); void * detection_thread_work (); - Glib::Mutex _lock; ///< lock held while the thread is doing work - Glib::Cond _run_cond; ///< condition to wake the thread + Glib::Threads::Mutex _lock; ///< lock held while the thread is doing work + Glib::Threads::Cond _run_cond; ///< condition to wake the thread bool _thread_should_finish; ///< true if the thread should terminate PBD::Signal0<void> Completed; ///< emitted when a silence detection has completed PBD::ScopedConnection _completed_connection; |