summaryrefslogtreecommitdiff
path: root/gtk2_ardour/return_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/return_ui.cc')
-rw-r--r--gtk2_ardour/return_ui.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/return_ui.cc b/gtk2_ardour/return_ui.cc
index 4ac3ab8ad1..6edd57a286 100644
--- a/gtk2_ardour/return_ui.cc
+++ b/gtk2_ardour/return_ui.cc
@@ -101,14 +101,13 @@ ReturnUI::fast_update ()
}
ReturnUIWindow::ReturnUIWindow (boost::shared_ptr<Return> r, ARDOUR::Session* s)
- : ArdourDialog (string(_("Return ")) + r->name())
+ : ArdourWindow (string(_("Return ")) + r->name())
{
ui = new ReturnUI (this, r, s);
hpacker.pack_start (*ui, true, true);
- get_vbox()->set_border_width (5);
- get_vbox()->pack_start (hpacker);
+ add (hpacker);
set_name ("ReturnUIWindow");