From 1c24a847dd9e0516035a4ad00d1f6a459c11bf94 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 16 Jun 2013 22:12:32 -0400 Subject: remove no-op "horizontal_position_changed()" method from StreamView and RouteTimeAxisView --- gtk2_ardour/route_time_axis.cc | 9 --------- gtk2_ardour/route_time_axis.h | 1 - gtk2_ardour/streamview.h | 1 - 3 files changed, 11 deletions(-) diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index af21e3ef29..ed1013ed5b 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -233,7 +233,6 @@ RouteTimeAxisView::set_route (boost::shared_ptr rt) } _editor.ZoomChanged.connect (sigc::mem_fun(*this, &RouteTimeAxisView::reset_samples_per_pixel)); - _editor.HorizontalPositionChanged.connect (sigc::mem_fun (*this, &RouteTimeAxisView::horizontal_position_changed)); ColorsChanged.connect (sigc::mem_fun (*this, &RouteTimeAxisView::color_handler)); PropertyList* plist = new PropertyList(); @@ -895,14 +894,6 @@ RouteTimeAxisView::reset_samples_per_pixel () set_samples_per_pixel (_editor.get_current_zoom()); } -void -RouteTimeAxisView::horizontal_position_changed () -{ - if (_view) { - _view->horizontal_position_changed (); - } -} - void RouteTimeAxisView::set_samples_per_pixel (double fpp) { diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h index 7a01ece03c..2d854c451a 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -212,7 +212,6 @@ protected: virtual void label_view (); void reset_samples_per_pixel (); - void horizontal_position_changed (); virtual void build_automation_action_menu (bool); virtual void append_extra_display_menu_items () {} diff --git a/gtk2_ardour/streamview.h b/gtk2_ardour/streamview.h index ce7991d2eb..c54d5dea70 100644 --- a/gtk2_ardour/streamview.h +++ b/gtk2_ardour/streamview.h @@ -75,7 +75,6 @@ public: virtual int set_samples_per_pixel (double); gdouble get_samples_per_pixel () const { return _samples_per_pixel; } - virtual void horizontal_position_changed () {} virtual void enter_internal_edit_mode (); virtual void leave_internal_edit_mode (); -- cgit v1.2.3