Add a Lua script snippet processing region data from the editor
[ardour.git] / gtk2_ardour / big_clock_window.cc
index 3d85e463a72b6026f149347e1f196d877ab6b12d..6c18ced98b9d33c025276e15a589aa167a137113 100644 (file)
@@ -21,6 +21,8 @@
 #include <string>
 #include <vector>
 
+#include "gtkmm2ext/utils.h"
+
 #include "ardour_ui.h"
 #include "audio_clock.h"
 #include "big_clock_window.h"
@@ -55,7 +57,7 @@ void
 BigClockWindow::on_unmap ()
 {
        ArdourWindow::on_unmap ();
-       PublicEditor::instance().reset_focus (&clock);
+       ARDOUR_UI::instance()->reset_focus (this);
 }
 
 bool