make global connection window inherit from ArdourDialog
[ardour.git] / gtk2_ardour / global_port_matrix.cc
index 3aa08bb218fe8a051b92a5cb8316bb1b0b24440c..318263a9cde4ce5e37407d171ad047f77799f9b0 100644 (file)
@@ -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 ();
 }