packaging tweaks for OS X
[ardour.git] / gtk2_ardour / midi_selection.cc
index 93f62f11a395cf417c8ea08e56ef65c6c496e5d2..bf9b88899bd2e894df0bfb65095824cdc6058011 100644 (file)
@@ -24,7 +24,7 @@
 
 MidiRegionSelection::MidiRegionSelection ()
 {
-       RegionView::RegionViewGoingAway.connect (_death_connection, MISSING_INVALIDATOR, ui_bind (&MidiRegionSelection::remove_it, this, _1), gui_context());
+       RegionView::RegionViewGoingAway.connect (_death_connection, MISSING_INVALIDATOR, boost::bind (&MidiRegionSelection::remove_it, this, _1), gui_context());
 }
 
 /** Copy constructor.
@@ -33,7 +33,7 @@ MidiRegionSelection::MidiRegionSelection ()
 MidiRegionSelection::MidiRegionSelection (MidiRegionSelection const & other)
        : std::list<MidiRegionView*> (other)
 {
-       RegionView::RegionViewGoingAway.connect (_death_connection, MISSING_INVALIDATOR, ui_bind (&MidiRegionSelection::remove_it, this, _1), gui_context());
+       RegionView::RegionViewGoingAway.connect (_death_connection, MISSING_INVALIDATOR, boost::bind (&MidiRegionSelection::remove_it, this, _1), gui_context());
 }