Change get_routes to get_routelist where appropriate.
[ardour.git] / gtk2_ardour / mixer_strip.cc
index 3868dd6bd0c5c158ab3bad982ab13902f1547e2e..7b943859704a6a116e93ba5b049d3ef37bb0cacb 100644 (file)
@@ -910,8 +910,7 @@ MixerStrip::output_press (GdkEventButton *ev)
                }
 
                /* then other routes inputs */
-               boost::shared_ptr<ARDOUR::RouteList> routes = _session->get_routes ();
-               RouteList copy = *routes;
+               RouteList copy = _session->get_routelist ();
                copy.sort (RouteCompareByName ());
                for (ARDOUR::RouteList::const_iterator i = copy.begin(); i != copy.end(); ++i) {
                        maybe_add_bundle_to_output_menu ((*i)->input()->bundle(), current, intended_type);