summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_window.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-26 23:17:33 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-26 23:17:33 +0000
commit2b4d07e3042683ad3c2bd37f216aa724c2ffdc15 (patch)
tree5bf8321ad0b09ff959c6bd86f7d526dc5f6acff3 /gtk2_ardour/ardour_window.cc
parenta556546291a86d3feae64a7a010d0756d5119f6b (diff)
make the "with-parent" constructor for ArdourWindow actually work by calling set_transient_for
git-svn-id: svn://localhost/ardour2/branches/3.0@11080 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_window.cc')
-rw-r--r--gtk2_ardour/ardour_window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_window.cc b/gtk2_ardour/ardour_window.cc
index 0e9294cc3f..94d3f55d12 100644
--- a/gtk2_ardour/ardour_window.cc
+++ b/gtk2_ardour/ardour_window.cc
@@ -40,6 +40,7 @@ ArdourWindow::ArdourWindow (Gtk::Window& parent, string title)
: Window ()
{
init ();
+ set_transient_for (parent);
set_position (Gtk::WIN_POS_CENTER_ON_PARENT);
}