summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/port_matrix.cc')
-rw-r--r--gtk2_ardour/port_matrix.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc
index 81a62d52c8..d9eea649e9 100644
--- a/gtk2_ardour/port_matrix.cc
+++ b/gtk2_ardour/port_matrix.cc
@@ -500,22 +500,6 @@ PortMatrix::max_size () const
return m;
}
-void
-PortMatrix::setup_max_size ()
-{
- if (!_parent) {
- return;
- }
-
- pair<uint32_t, uint32_t> const m = max_size ();
-
- GdkGeometry g;
- g.max_width = m.first;
- g.max_height = m.second;
-
- _parent->set_geometry_hints (*this, g, Gdk::HINT_MAX_SIZE);
-}
-
bool
PortMatrix::on_scroll_event (GdkEventScroll* ev)
{