summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui_ed.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-08-18 13:12:45 +0000
committerCarl Hetherington <carl@carlh.net>2010-08-18 13:12:45 +0000
commit8d9c88f48fba1b73301880120ff123d0c1e9338a (patch)
treef477eabd5e5e230784569a8a1acee38125cb9b91 /gtk2_ardour/ardour_ui_ed.cc
parent048d407fa56679ce11248d035813965ce54324a9 (diff)
Fix another potential similar bug.
git-svn-id: svn://localhost/ardour2/branches/3.0@7649 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui_ed.cc')
-rw-r--r--gtk2_ardour/ardour_ui_ed.cc2
1 files changed, 1 insertions, 1 deletions
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 {