prevent everything except the name column from changing selection in EditorRoutes
[ardour.git] / gtk2_ardour / automation_time_axis.cc
index 92af663e76981a6d8204ed622c3d4c3a1766e80f..17e4877f3a8daeb8eb9b48c3c8ba1cc7d3e48557 100644 (file)
@@ -1009,35 +1009,6 @@ AutomationTimeAxisView::set_state (const XMLNode&, int /*version*/)
        return 0;
 }
 
-void
-AutomationTimeAxisView::what_has_visible_automation (const boost::shared_ptr<Automatable>& automatable, set<Evoral::Parameter>& visible)
-{
-       /* this keeps "knowledge" of how we store visibility information
-          in XML private to this class.
-       */
-
-       assert (automatable);
-
-       Automatable::Controls& controls (automatable->controls());
-
-       for (Automatable::Controls::iterator i = controls.begin(); i != controls.end(); ++i) {
-
-               boost::shared_ptr<AutomationControl> ac = boost::dynamic_pointer_cast<AutomationControl> (i->second);
-
-               if (ac && ac->alist()) {
-
-                       const XMLNode* gui_node = ac->extra_xml ("GUI");
-
-                       if (gui_node) {
-                               bool shown;
-                               if (gui_node->get_property ("shown", shown) && shown) {
-                                       visible.insert (i->first);
-                               }
-                       }
-               }
-       }
-}
-
 
 /** @return true if this view has any automation data to display */
 bool