use new syntax for connecting to backend signals that enforces explicit connection...
[ardour.git] / gtk2_ardour / marker_time_axis_view.cc
index 402f2ac479a9a9e45b9ccd5b0728449e5bed8edc..2d9a30b0a32050c1f0a73cae1573aa8d4601ed9c 100644 (file)
@@ -211,7 +211,7 @@ MarkerTimeAxisView::add_marker_view(ImageFrameView* ifv, std::string mark_type,
        ifv->add_marker_view_item(mv, src) ;
        marker_view_list.push_front(mv) ;
 
-       scoped_connect (mv->GoingAway, boost::bind (&MarkerTimeAxisView::remove_marker_view, this, (void*)this));
+       mv->GoingAway.connect (*this, boost::bind (&MarkerTimeAxisView::remove_marker_view, this, (void*)this));
 
         MarkerViewAdded(mv,src) ; /* EMIT_SIGNAL */