Remove some unused code.
authorCarl Hetherington <carl@carlh.net>
Sun, 3 Jul 2011 23:52:03 +0000 (23:52 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 3 Jul 2011 23:52:03 +0000 (23:52 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@9791 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/ardour_ui_options.cc

index 6bb38cd09c043433f7f1dad72ef534bf23ede013..2a84d70c0ed251024c9d72f99603321a3967e649 100644 (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)
 {