fix crash on OS X el capitan when using command line arguments
[ardour.git] / gtk2_ardour / audio_clock.cc
index 2455d50cccc832b3a2e9a42ad7cad2068d94b704..ed81b6db2102d3cf40edd773c88a58a53cf09d89 100644 (file)
 #include "ardour/tempo.h"
 #include "ardour/types.h"
 
+#include "ardour_ui.h"
 #include "audio_clock.h"
 #include "gui_thread.h"
 #include "keyboard.h"
-#include "public_editor.h"
 #include "ui_config.h"
 #include "utils.h"
 
@@ -712,7 +712,7 @@ AudioClock::drop_focus ()
 
        if (has_focus()) {
                /* move focus back to the default widget in the top level window */
-               PublicEditor::instance().reset_focus (this);
+               ARDOUR_UI::instance()->reset_focus (this);
        }
 }