diff --git a/gtk2_ardour/ardour_ui_ed.cc b/gtk2_ardour/ardour_ui_ed.cc index be82a74403..7ebd89d7cd 100644 --- a/gtk2_ardour/ardour_ui_ed.cc +++ b/gtk2_ardour/ardour_ui_ed.cc @@ -598,7 +598,7 @@ ARDOUR_UI::big_clock_realized () void ARDOUR_UI::float_big_clock (Gtk::Window* parent) { - if (big_clock_window) { + if (big_clock_window->get()) { if (parent) { big_clock_window->get()->set_transient_for (*parent); } else {