From ed626628b54e67dd9621c08d82a42afaed00c7ac Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 1 Jun 2011 17:00:29 +0000 Subject: Delete trailing whitespace git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/port_matrix_body.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'gtk2_ardour/port_matrix_body.cc') diff --git a/gtk2_ardour/port_matrix_body.cc b/gtk2_ardour/port_matrix_body.cc index 3d564319f8..2b12ed092a 100644 --- a/gtk2_ardour/port_matrix_body.cc +++ b/gtk2_ardour/port_matrix_body.cc @@ -112,7 +112,7 @@ PortMatrixBody::on_expose_event (GdkEventExpose* event) r.intersect ((*i)->parent_rectangle(), intersects); if (intersects) { - + gdk_draw_drawable ( get_window()->gobj(), get_style()->get_fg_gc (Gtk::STATE_NORMAL)->gobj(), @@ -261,25 +261,25 @@ PortMatrixBody::setup () if (_matrix->visible_rows()) { PortGroup::BundleList r = _matrix->visible_rows()->bundles (); for (PortGroup::BundleList::iterator i = r.begin(); i != r.end(); ++i) { - + (*i)->bundle->Changed.connect (_bundle_connections, invalidator (*this), boost::bind (&PortMatrixBody::rebuild_and_draw_row_labels, this), gui_context()); - + } } - + if (_matrix->visible_columns()) { PortGroup::BundleList c = _matrix->visible_columns()->bundles (); for (PortGroup::BundleList::iterator i = c.begin(); i != c.end(); ++i) { (*i)->bundle->Changed.connect (_bundle_connections, invalidator (*this), boost::bind (&PortMatrixBody::rebuild_and_draw_column_labels, this), gui_context()); } } - + for (list::iterator i = _components.begin(); i != _components.end(); ++i) { (*i)->setup (); } set_mouseover (PortMatrixNode ()); - + _ignore_component_size_changed = true; compute_rectangles (); _ignore_component_size_changed = false; @@ -398,7 +398,7 @@ bool PortMatrixBody::on_motion_notify_event (GdkEventMotion* ev) { bool done = false; - + for (list::iterator i = _components.begin(); i != _components.end(); ++i) { if (Gdk::Region ((*i)->parent_rectangle()).point_in (ev->x, ev->y)) { (*i)->motion ( @@ -409,7 +409,7 @@ PortMatrixBody::on_motion_notify_event (GdkEventMotion* ev) done = true; } } - + if (!done) { set_mouseover (PortMatrixNode ()); @@ -446,7 +446,7 @@ PortMatrixBody::set_mouseover (list const & n) list old = _mouseover; _mouseover = n; - + for (list::iterator i = _components.begin(); i != _components.end(); ++i) { (*i)->mouseover_changed (old); } @@ -507,7 +507,7 @@ PortMatrixBody::component_size_changed () if (_ignore_component_size_changed) { return; } - + compute_rectangles (); _matrix->setup_scrollbars (); } -- cgit v1.2.3