summaryrefslogtreecommitdiff
path: root/gtk2_ardour/global_port_matrix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/global_port_matrix.cc')
-rw-r--r--gtk2_ardour/global_port_matrix.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc
index 5e5218bda8..f4803f156b 100644
--- a/gtk2_ardour/global_port_matrix.cc
+++ b/gtk2_ardour/global_port_matrix.cc
@@ -148,8 +148,8 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const
}
GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
- : ArdourDialog (X_("reset me soon"))
- , _port_matrix (this, s, t)
+ : ArdourWindow (X_("reset me soon"))
+ , _port_matrix (this, s, t)
{
switch (t) {
case DataType::AUDIO:
@@ -160,7 +160,7 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
break;
}
- get_vbox()->pack_start (_port_matrix, true, true);
+ add (_port_matrix);
_port_matrix.show ();
}