summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix_component.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r--gtk2_ardour/port_matrix_component.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc
index 74f989934e..02d754f5ce 100644
--- a/gtk2_ardour/port_matrix_component.cc
+++ b/gtk2_ardour/port_matrix_component.cc
@@ -23,8 +23,9 @@
/** Constructor.
* @param p Port matrix that we're in.
*/
-PortMatrixComponent::PortMatrixComponent (PortMatrixBody* b)
- : _body (b),
+PortMatrixComponent::PortMatrixComponent (PortMatrix* m, PortMatrixBody* b)
+ : _matrix (m),
+ _body (b),
_pixmap (0),
_render_required (true),
_dimension_computation_required (true)