From 478fd92039443743babec98812f10921209f1e5a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Dec 2009 19:09:08 +0000 Subject: Use a shared_ptr for SessionPlaylists so that it can be explicitly destroyed in ~Session to ease debugging. git-svn-id: svn://localhost/ardour2/branches/3.0@6282 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/playlist_selector.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/playlist_selector.cc') diff --git a/gtk2_ardour/playlist_selector.cc b/gtk2_ardour/playlist_selector.cc index 82541cd7fb..fbc7f170a8 100644 --- a/gtk2_ardour/playlist_selector.cc +++ b/gtk2_ardour/playlist_selector.cc @@ -112,7 +112,7 @@ PlaylistSelector::show_for (RouteUI* ruix) model->clear (); - session->playlists.foreach (this, &PlaylistSelector::add_playlist_to_map); + session->playlists->foreach (this, &PlaylistSelector::add_playlist_to_map); this_ds = rui->get_diskstream(); @@ -180,7 +180,7 @@ PlaylistSelector::show_for (RouteUI* ruix) // Add unassigned (imported) playlists to the list list > unassigned; - session->playlists.unassigned (unassigned); + session->playlists->unassigned (unassigned); TreeModel::Row row; TreeModel::Row* selected_row = 0; -- cgit v1.2.3