projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use new syntax for connecting to backend signals that enforces explicit connection...
[ardour.git]
/
gtk2_ardour
/
editor_imageframe.cc
diff --git
a/gtk2_ardour/editor_imageframe.cc
b/gtk2_ardour/editor_imageframe.cc
index 705c68586cdb4e3c019dab0876920b6346dc43e8..7f499c0c6fb504f8e41f94b32fc4468806b0ea8a 100644
(file)
--- a/
gtk2_ardour/editor_imageframe.cc
+++ b/
gtk2_ardour/editor_imageframe.cc
@@
-1092,7
+1092,7
@@
Editor::handle_new_imageframe_time_axis_view(const string & track_name, void* sr
row[route_display_columns.tv] = iftav;
route_list_display.get_selection()->select (row);
row[route_display_columns.tv] = iftav;
route_list_display.get_selection()->select (row);
-
scoped_connect (iftav->GoingAway
, boost::bind (&Editor::remove_route, this, (TimeAxisView*)iftav));
+
iftav->GoingAway.connect (*this
, boost::bind (&Editor::remove_route, this, (TimeAxisView*)iftav));
iftav->gui_changed.connect(sigc::mem_fun(*this, &Editor::handle_gui_changes)) ;
}
iftav->gui_changed.connect(sigc::mem_fun(*this, &Editor::handle_gui_changes)) ;
}
@@
-1109,7
+1109,7
@@
Editor::handle_new_imageframe_marker_time_axis_view(const string & track_name, T
row[route_display_columns.tv] = mta;
route_list_display.get_selection()->select (row);
row[route_display_columns.tv] = mta;
route_list_display.get_selection()->select (row);
-
scoped_connect (mta->GoingAway
, boost::bind (&Editor::remove_route, this, (TimeAxisView*)mta));
+
mta->GoingAway.connect (*this
, boost::bind (&Editor::remove_route, this, (TimeAxisView*)mta));
}
}