use syntactic sugar
[ardour.git] / gtk2_ardour / port_matrix_body.cc
index c07a6dc529f60a3de162a047ca086bcf251f90a7..66ed3ecc3e2c0cea55212f770ea8a05b45004c6e 100644 (file)
@@ -43,7 +43,7 @@ PortMatrixBody::PortMatrixBody (PortMatrix* p)
          _ignore_component_size_changed (false)
 {
        _column_labels = new PortMatrixColumnLabels (p, this);
-       _row_labels = new PortMatrixRowLabels (p, this);
+       _row_labels = new PortMatrixRowLabels (p, this, *_column_labels);
        _grid = new PortMatrixGrid (p, this);
 
        _components.push_back (_column_labels);