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
This commit is contained in:
Paul Davis 2011-12-26 23:17:33 +00:00
parent a556546291
commit 2b4d07e304

View File

@ -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);
}