Remove some debugging code which causes slow flashy screen updates.
[ardour.git] / gtk2_ardour / ardour_ui_dependents.cc
index 9c6daa8952f724a439cfcbdb0894432cb0b94956..6464c529679bb352fa0d20f27abeaf99210fccde 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 /* this file exists solely to break compilation dependencies that
@@ -48,7 +47,8 @@ void
 ARDOUR_UI::shutdown ()
 {
        if (session) {
-               delete session;
+               /* we're exiting cleanly, so remove any auto-save data */
+               session->remove_pending_capture_state ();
                session = 0;
        }
 
@@ -75,7 +75,7 @@ void
 ARDOUR_UI::setup_keybindings ()
 {
        install_actions ();
-       RedirectBox::register_actions ();
+       ProcessorBox::register_actions ();
        
        cerr << "loading bindings from " << keybindings_path << endl;
 
@@ -91,6 +91,8 @@ ARDOUR_UI::setup_keybindings ()
        GtkAccelMap* accelmap = gtk_accel_map_get();
        g_signal_connect (accelmap, "changed", (GCallback) accel_map_changed, this);
 
+       
+
 }
 
 void
@@ -108,13 +110,13 @@ void
 ARDOUR_UI::goto_editor_window ()
 {
        editor->show_window ();
-       editor->present();
+       editor->present ();
 }
 void
 ARDOUR_UI::goto_mixer_window ()
 {
        mixer->show_window ();
-       mixer->present();
+       mixer->present ();
 }
 
 gint