replaced slot() with mem_fun() and ptr_fun().
[ardour.git] / gtk2_ardour / region_selection.cc
index 2483961b8840fdbc63a4be4126de631df12f14f0..b3ceb8516ff92c8afe65ec0acc6f478b658ec8fa 100644 (file)
@@ -81,7 +81,7 @@ AudioRegionSelection::add (AudioRegionView* rv, bool dosort)
                return;
        }
 
-       rv->AudioRegionViewGoingAway.connect (slot (*this, &AudioRegionSelection::remove_it));
+       rv->AudioRegionViewGoingAway.connect (mem_fun(*this, &AudioRegionSelection::remove_it));
 
        if (rv->region.first_frame() < _current_start || empty()) {
                _current_start = rv->region.first_frame();