diff options
author | Carl Hetherington <carl@carlh.net> | 2009-02-05 12:56:12 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-02-05 12:56:12 +0000 |
commit | 67d545c0809522e8d32b919941f2be56d94c7ba3 (patch) | |
tree | 1f97cbe7fc6eea202a7d64de837ddcfa6a7b04dd /gtk2_ardour/port_matrix_component.cc | |
parent | ee4e28751edae18bc2c2d3960472f15446b17306 (diff) |
Small fixes to port matrix rendering, mostly visible when using the bundle manager.
git-svn-id: svn://localhost/ardour2/branches/3.0@4491 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/port_matrix_component.cc')
-rw-r--r-- | gtk2_ardour/port_matrix_component.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix_component.cc b/gtk2_ardour/port_matrix_component.cc index 02d754f5ce..a68e21730d 100644 --- a/gtk2_ardour/port_matrix_component.cc +++ b/gtk2_ardour/port_matrix_component.cc @@ -17,8 +17,9 @@ */ -#include <iostream> #include "port_matrix_component.h" +#include "port_matrix.h" +#include "port_matrix_body.h" /** Constructor. * @param p Port matrix that we're in. @@ -56,6 +57,7 @@ PortMatrixComponent::get_pixmap (GdkDrawable *drawable) if (_dimension_computation_required) { compute_dimensions (); _dimension_computation_required = false; + _body->component_size_changed (); } /* we may be zero width or height; if so, just @@ -102,6 +104,7 @@ PortMatrixComponent::dimensions () if (_dimension_computation_required) { compute_dimensions (); _dimension_computation_required = false; + _body->component_size_changed (); } return std::make_pair (_width, _height); |