Large nasty commit in the form of a 5000 line patch chock-full of completely
[ardour.git] / gtk2_ardour / region_selection.cc
index b0afa26999e5eb4fa71f346b9b7b3e6273640dc2..751584cab7a5ddfe6ff9c13b308b1b6ef89c2eba 100644 (file)
@@ -6,7 +6,8 @@
 #include "region_selection.h"
 
 using namespace ARDOUR;
-using namespace SigC;
+using namespace PBD;
+using namespace sigc;
 
 
 bool 
@@ -81,7 +82,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();