add theme files to default target, and install using target names
[ardour.git] / gtk2_ardour / tape_region_view.cc
index 08d845003673d3a0b0e04c058479ab2da8457ad8..f46d1c05dc9e8e6ac9c09c4d9692519a2eba5fd9 100644 (file)
@@ -67,7 +67,7 @@ TapeAudioRegionView::init (Gdk::Color& basic_color, bool wfw)
        /* every time the wave data changes and peaks are ready, redraw */
        
        for (uint32_t n = 0; n < audio_region()->n_channels(); ++n) {
-               audio_region()->source(n)->PeaksReady.connect (bind (mem_fun(*this, &TapeAudioRegionView::update), n));
+               audio_region()->audio_source(n)->PeaksReady.connect (bind (mem_fun(*this, &TapeAudioRegionView::update), n));
        }
        
 }