From: Carl Hetherington Date: Fri, 18 Jun 2010 02:06:58 +0000 (+0000) Subject: Remove unnecessary height changed notification for streamviews, now that the summary... X-Git-Tag: 3.0-alpha5~1939 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=9c4f5ac000ad91b55e4cf91317b7a89f6239870e;p=ardour.git 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 --- diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index dfe001f946..0b6929e86c 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -4911,12 +4911,6 @@ Editor::region_view_added (RegionView *) _summary->set_dirty (); } -void -Editor::streamview_height_changed () -{ - _summary->set_dirty (); -} - TimeAxisView* Editor::axis_view_from_route (boost::shared_ptr r) const { @@ -4980,7 +4974,6 @@ Editor::handle_new_route (RouteList& routes) rtv->effective_gain_display (); 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); diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 576022ff92..f81a212d9b 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -2020,7 +2020,6 @@ public: void region_view_added (RegionView *); void update_canvas_now (); - void streamview_height_changed (); EditorGroupTabs* _group_tabs; void fit_route_group (ARDOUR::RouteGroup *); diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc index eadaa29af8..2be8e9bfe2 100644 --- a/gtk2_ardour/streamview.cc +++ b/gtk2_ardour/streamview.cc @@ -136,8 +136,6 @@ StreamView::set_height (double h) canvas_rect->property_y2() = height; update_contents_height (); - HeightChanged (); - return 0; } diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index 0bf770837f..304f38894e 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -113,7 +113,6 @@ public: } sigc::signal RegionViewAdded; - sigc::signal HeightChanged; protected: StreamView (RouteTimeAxisView&, ArdourCanvas::Group* background_group = 0, ArdourCanvas::Group* canvas_group = 0);