use new syntax for connecting to backend signals that enforces explicit connection...
[ardour.git] / gtk2_ardour / imageframe_time_axis_group.cc
index 28d2aac1a16d4edc4b66002fa57377819c535edf..4c33d73dfcfd0c2bf015c2d0b598d341203c6010 100644 (file)
@@ -216,7 +216,7 @@ ImageFrameTimeAxisGroup::add_imageframe_item(const string & frame_id, nframes_t
 
                imageframe_views.push_front(ifv) ;
 
-               scoped_connect (ifv->GoingAway, boost::bind (&ImageFrameTimeAxisGroup::remove_imageframe_item, this, (void*)this));
+               ifv->GoingAway.connect (*this, boost::bind (&ImageFrameTimeAxisGroup::remove_imageframe_item, this, (void*)this));
 
                 ImageFrameAdded(ifv, src) ; /* EMIT_SIGNAL */
        }