diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-25 17:48:55 +0000 |
commit | 3cd8138a419cb165f56070ace0b21a1e63ec5a43 (patch) | |
tree | 51efe9abff24a1367be227aebf8e2901433b0b88 /gtk2_ardour/strip_silence_dialog.h | |
parent | eb6e352dd0a307badf68ae4a216d15c03b4685de (diff) |
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
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; |