use new syntax for connecting to backend signals that enforces explicit connection...
[ardour.git] / gtk2_ardour / editor_drag.cc
index bd97d42b4b7d89c970ce123f9469954c773b4ddb..4f864309f9bcd9ef370a283ed731f552c31eae43 100644 (file)
@@ -237,7 +237,7 @@ RegionDrag::RegionDrag (Editor* e, ArdourCanvas::Item* i, RegionView* p, list<Re
          _primary (p),
          _views (v)
 {
-       death_connection = RegionView::RegionViewGoingAway.connect (sigc::mem_fun (*this, &RegionDrag::region_going_away));
+       RegionView::RegionViewGoingAway.connect (death_connection, boost::bind (&RegionDrag::region_going_away, this, _1));
 }
 
 void