Remove unnecessary height changed notification for streamviews, now that the summary doesn't need to know.

git-svn-id: svn://localhost/ardour2/branches/3.0@7277 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-06-18 02:06:58 +00:00
parent a8e019c9e0
commit 9c4f5ac000
4 changed files with 0 additions and 11 deletions

View file

@ -4911,12 +4911,6 @@ Editor::region_view_added (RegionView *)
_summary->set_dirty (); _summary->set_dirty ();
} }
void
Editor::streamview_height_changed ()
{
_summary->set_dirty ();
}
TimeAxisView* TimeAxisView*
Editor::axis_view_from_route (boost::shared_ptr<Route> r) const Editor::axis_view_from_route (boost::shared_ptr<Route> r) const
{ {
@ -4980,7 +4974,6 @@ Editor::handle_new_route (RouteList& routes)
rtv->effective_gain_display (); rtv->effective_gain_display ();
rtv->view()->RegionViewAdded.connect (sigc::mem_fun (*this, &Editor::region_view_added)); rtv->view()->RegionViewAdded.connect (sigc::mem_fun (*this, &Editor::region_view_added));
rtv->view()->HeightChanged.connect (sigc::mem_fun (*this, &Editor::streamview_height_changed));
} }
_routes->routes_added (new_views); _routes->routes_added (new_views);

View file

@ -2020,7 +2020,6 @@ public:
void region_view_added (RegionView *); void region_view_added (RegionView *);
void update_canvas_now (); void update_canvas_now ();
void streamview_height_changed ();
EditorGroupTabs* _group_tabs; EditorGroupTabs* _group_tabs;
void fit_route_group (ARDOUR::RouteGroup *); void fit_route_group (ARDOUR::RouteGroup *);

View file

@ -136,8 +136,6 @@ StreamView::set_height (double h)
canvas_rect->property_y2() = height; canvas_rect->property_y2() = height;
update_contents_height (); update_contents_height ();
HeightChanged ();
return 0; return 0;
} }

View file

@ -113,7 +113,6 @@ public:
} }
sigc::signal<void,RegionView*> RegionViewAdded; sigc::signal<void,RegionView*> RegionViewAdded;
sigc::signal<void> HeightChanged;
protected: protected:
StreamView (RouteTimeAxisView&, ArdourCanvas::Group* background_group = 0, ArdourCanvas::Group* canvas_group = 0); StreamView (RouteTimeAxisView&, ArdourCanvas::Group* background_group = 0, ArdourCanvas::Group* canvas_group = 0);