non-copy region drag now creates a new track when a region is dragged to the drop...
[ardour.git] / gtk2_ardour / strip_silence_dialog.cc
index 32e7bc60545d81b562b8884be3a383de5042e7cb..d37fbb6585ebea29391b61f5ab9e89e47d25668a 100644 (file)
 #include "audio_clock.h"
 #include "gui_thread.h"
 #include "strip_silence_dialog.h"
-#include "canvas_impl.h"
 #include "region_view.h"
-#include "simpleline.h"
-#include "waveview.h"
-#include "simplerect.h"
 #include "rgb_macros.h"
 #include "i18n.h"
 #include "logmeter.h"
@@ -187,7 +183,7 @@ void
 StripSilenceDialog::update_silence_rects ()
 {
        /* Lock so that we don't contend with the detection thread for access to the silence regions */
-       Glib::Mutex::Lock lm (_lock);
+       Glib::Threads::Mutex::Lock lm (_lock);
         double const y = _threshold.get_value();
 
         for (list<ViewInterval>::iterator v = views.begin(); v != views.end(); ++v) {