summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_options.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_ui_options.cc')
-rw-r--r--gtk2_ardour/ardour_ui_options.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/gtk2_ardour/ardour_ui_options.cc b/gtk2_ardour/ardour_ui_options.cc
index 6bb38cd09c..2a84d70c0e 100644
--- a/gtk2_ardour/ardour_ui_options.cc
+++ b/gtk2_ardour/ardour_ui_options.cc
@@ -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)
{