use new syntax for connecting to backend signals that enforces explicit connection...
[ardour.git] / gtk2_ardour / imageframe_time_axis.cc
index 9e1eef2b2e7bb8a8ce13e1c889323401afbcd30d..9dbcb313923a7aff54cf73182322a51566c412e0 100644 (file)
@@ -322,7 +322,7 @@ ImageFrameTimeAxis::add_marker_time_axis(MarkerTimeAxis* marker_track, void* src
        else
        {
                marker_time_axis_list.push_back(marker_track) ;
-               scoped_connect (marker_track->GoingAway, boost::bind (&ImageFrameTimeAxis::remove_time_axis_view, this, marker_track, (void*)this));
+               marker_track->GoingAway.connect (*this, boost::bind (&ImageFrameTimeAxis::remove_time_axis_view, this, marker_track, (void*)this));
 
                 MarkerTimeAxisAdded(marker_track, src) ; /* EMIT_SIGNAL */
                ret = true ;