summaryrefslogtreecommitdiff
path: root/gtk2_ardour/port_matrix.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-08-29 20:48:11 +0000
committerCarl Hetherington <carl@carlh.net>2009-08-29 20:48:11 +0000
commit7c49119be05c2a0fc324f6a13e91720ac66a5957 (patch)
treefbe62f03a5430857e995cd0ab1bd5f304bfd4444 /gtk2_ardour/port_matrix.cc
parent94c5a98e025a8ef9976e5758a6504f1c9b90b16b (diff)
Modify hacks associated with initial sizing of port matrices to try and make things work with both fluxbox and metacity.
git-svn-id: svn://localhost/ardour2/branches/3.0@5604 d708f5d6-7413-0410-9779-e7cbd77b26cf
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)
{