13
0

Remove some unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@9791 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-07-03 23:52:03 +00:00
parent 99661215ae
commit 7f1e04eff2

View File

@ -297,27 +297,6 @@ ARDOUR_UI::setup_session_options ()
_session->config.map_parameters (pc);
}
#if 0
void
ARDOUR_UI::handle_sync_change ()
{
if (!_session) {
return;
}
if (!_session->config.get_external_sync()) {
sync_button.set_label (_("Internal"));
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (true);
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (true);
} else {
sync_button.set_label (_("External"));
/* XXX need to make auto-play is off as well as insensitive */
ActionManager::get_action ("Transport", "ToggleAutoPlay")->set_sensitive (false);
ActionManager::get_action ("Transport", "ToggleAutoReturn")->set_sensitive (false);
}
}
#endif
void
ARDOUR_UI::parameter_changed (std::string p)
{