summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gtk2_ardour/global_port_matrix.cc5
-rw-r--r--gtk2_ardour/global_port_matrix.h3
2 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/global_port_matrix.cc b/gtk2_ardour/global_port_matrix.cc
index 3aa08bb218..318263a9cd 100644
--- a/gtk2_ardour/global_port_matrix.cc
+++ b/gtk2_ardour/global_port_matrix.cc
@@ -144,7 +144,8 @@ GlobalPortMatrix::get_state (BundleChannel c[2]) const
}
GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
- : _port_matrix (this, s, t)
+ : ArdourDialog (X_("reset me soon"))
+ , _port_matrix (this, s, t)
{
switch (t) {
case DataType::AUDIO:
@@ -155,7 +156,7 @@ GlobalPortMatrixWindow::GlobalPortMatrixWindow (Session* s, DataType t)
break;
}
- add (_port_matrix);
+ get_vbox()->pack_start (_port_matrix, true, true);
_port_matrix.show ();
}
diff --git a/gtk2_ardour/global_port_matrix.h b/gtk2_ardour/global_port_matrix.h
index 734c2ff609..2ecf26c33d 100644
--- a/gtk2_ardour/global_port_matrix.h
+++ b/gtk2_ardour/global_port_matrix.h
@@ -50,8 +50,7 @@ private:
};
};
-
-class GlobalPortMatrixWindow : public Gtk::Window
+class GlobalPortMatrixWindow : public ArdourDialog
{
public:
GlobalPortMatrixWindow (ARDOUR::Session *, ARDOUR::DataType);