Fix another potential similar bug.

git-svn-id: svn://localhost/ardour2/branches/3.0@7649 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-08-18 13:12:45 +00:00
parent 048d407fa5
commit 8d9c88f48f

View File

@ -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 {