diff options
author | Carl Hetherington <carl@carlh.net> | 2009-08-24 01:01:18 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-08-24 01:01:18 +0000 |
commit | 09eee1bb7c2463d426fc5864036af875ebf95d3e (patch) | |
tree | 72525f241b3760551f5e5525489e03b3a48fbda5 /gtk2_ardour/route_time_axis.cc | |
parent | c91da28eb2552c4270e7f07026ee9609c3af717e (diff) |
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
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index d8cbfbc3ea..d16f9b7a12 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -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 (); } |