support for glade and new new session dialog
[ardour.git] / gtk2_ardour / region_selection.cc
index b0afa26999e5eb4fa71f346b9b7b3e6273640dc2..b3ceb8516ff92c8afe65ec0acc6f478b658ec8fa 100644 (file)
@@ -6,7 +6,7 @@
 #include "region_selection.h"
 
 using namespace ARDOUR;
-using namespace SigC;
+using namespace sigc;
 
 
 bool 
@@ -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();