Use global clip level from prefs. Restore clip colour, \
[ardour.git] / gtk2_ardour / tape_region_view.cc
index 5fef5e46eee4a6bb5957cf9b30ca54ba4c0418fd..d626f3df496880fb12bf127e929855811841b83d 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <gtkmm2ext/gtk_ui.h>
 
-#include "ardour/playlist.h"
 #include "ardour/audioregion.h"
 #include "ardour/audiosource.h"
 
@@ -80,7 +79,7 @@ TapeAudioRegionView::~TapeAudioRegionView()
 }
 
 void
-TapeAudioRegionView::update (uint32_t n)
+TapeAudioRegionView::update (uint32_t /*n*/)
 {
        /* check that all waves are build and ready */
 
@@ -88,11 +87,9 @@ TapeAudioRegionView::update (uint32_t n)
                return;
        }
 
-       ENSURE_GUI_THREAD (*this, &TapeAudioRegionView::update, n)
-
-       /* this triggers a cache invalidation and redraw in the waveview */
-
-       waves[n]->property_data_src() = _region.get();
+       ENSURE_GUI_THREAD (*this, &TapeAudioRegionView::update, n);
+       // CAIROCANVAS
+       // waves[n]->rebuild ();
 }
 
 void