Vorbis Quality Config GUI
[ardour.git] / gtk2_ardour / plugin_pin_dialog.cc
index 3ac10432de0e71fa80c0a6dc3c9c580e1a571f8b..0a9ad9e628579d48918d0be474e66652a1ee30ae 100644 (file)
@@ -1820,8 +1820,7 @@ PluginPinWidget::sc_input_press (GdkEventButton *ev, boost::weak_ptr<ARDOUR::Por
                }
 #endif
 
-               boost::shared_ptr<ARDOUR::RouteList> routes = _session->get_routes ();
-               RouteList copy = *routes;
+               RouteList copy = _session->get_routelist ();
                copy.sort (Stripable::Sorter(true));
                uint32_t added = 0;
                for (ARDOUR::RouteList::const_iterator i = copy.begin (); i != copy.end (); ++i) {