From 7f1e04eff26072c609809d89a3190b70ad388060 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 3 Jul 2011 23:52:03 +0000 Subject: [PATCH] Remove some unused code. git-svn-id: svn://localhost/ardour2/branches/3.0@9791 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui_options.cc | 21 --------------------- 1 file changed, 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) {