13
0

make (parent,title) variant of ArdourWindow constructor set window title

This commit is contained in:
Paul Davis 2015-12-01 09:22:24 -05:00
parent 620f1caf23
commit f178c4f4ee

View File

@ -42,11 +42,12 @@ ArdourWindow::ArdourWindow (string title)
set_position (Gtk::WIN_POS_MOUSE);
}
ArdourWindow::ArdourWindow (Gtk::Window& parent, string /*title*/)
ArdourWindow::ArdourWindow (Gtk::Window& parent, string title)
: Window ()
, VisibilityTracker (*((Gtk::Window*)this))
{
init ();
set_title (title);
set_transient_for (parent);
set_position (Gtk::WIN_POS_CENTER_ON_PARENT);
}