update CycleTimer to utilize NDEBUG and PBD::DEBUG so that we can leave them in place...
[ardour.git] / gtk2_ardour / ardour_ui_mixer.cc
index c969afa33faca46645915f13caa1a466770654d6..e3250d2a1f552d642463a0f416a4a2cf4944b1fb 100644 (file)
@@ -35,7 +35,7 @@ ARDOUR_UI::create_mixer ()
 
 {
        try {
-               mixer = new Mixer_UI ();
+               mixer = Mixer_UI::instance ();
        }
 
        catch (failed_constructor& err) {
@@ -45,7 +45,7 @@ ARDOUR_UI::create_mixer ()
        mixer->signal_window_state_event().connect (sigc::bind (sigc::mem_fun (*this, &ARDOUR_UI::main_window_state_event_handler), false));
        mixer->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/toggle-mixer")));
        mixer->signal_unmap().connect (sigc::bind (sigc::ptr_fun (&ActionManager::uncheck_toggleaction), X_("<Actions>/Common/toggle-mixer-on-top")));
-       
+
        return 0;
 }