working but still confusing fix for ensuring that playlist shared-with data is correc...
[ardour.git] / gtk2_ardour / editor_drag.cc
index 2449bb5752a742e1b55b02b4a7aa637e43c17293..ebc5d97bb7a612e827f06f0ab7faf67c28000971 100644 (file)
@@ -2986,7 +2986,7 @@ TrimDrag::motion (GdkEvent* event, bool first_move)
                        /* a MRV start trim may change the source length. ensure we cover all playlists here */
                        if (mrv && _operation == StartTrim) {
                                vector<boost::shared_ptr<Playlist> > all_playlists;
-                               _editor->session()->playlists->get (all_playlists);
+                               _editor->session()->playlists()->get (all_playlists);
                                for (vector<boost::shared_ptr<Playlist> >::iterator x = all_playlists.begin(); x != all_playlists.end(); ++x) {
 
                                        if ((*x)->uses_source (rv->region()->source(0))) {