Remove unused method in RouteTimeAxisView. Fix bug with switching to layered region mode.

Optimise Playlist::relayer().


git-svn-id: svn://localhost/ardour2/branches/3.0@5572 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-08-24 01:01:18 +00:00
parent c91da28eb2
commit 09eee1bb7c
4 changed files with 61 additions and 49 deletions

View file

@ -303,21 +303,6 @@ RouteTimeAxisView::post_construct ()
reset_processor_automation_curves ();
}
void
RouteTimeAxisView::set_playlist (boost::shared_ptr<Playlist> /*newplaylist*/)
{
boost::shared_ptr<Playlist> pl = playlist();
assert(pl);
modified_connection.disconnect ();
modified_connection = pl->Modified.connect (mem_fun(*this, &RouteTimeAxisView::playlist_modified));
}
void
RouteTimeAxisView::playlist_modified ()
{
}
gint
RouteTimeAxisView::edit_click (GdkEventButton *ev)
{
@ -342,10 +327,6 @@ void
RouteTimeAxisView::playlist_changed ()
{
label_view ();
if (is_track()) {
set_playlist (get_diskstream()->playlist());
}
}
void
@ -1163,7 +1144,6 @@ RouteTimeAxisView::update_diskstream_display ()
if (!get_diskstream()) // bus
return;
set_playlist (get_diskstream()->playlist());
map_frozen ();
}