summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-16 22:12:32 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-16 22:15:32 -0400
commit1c24a847dd9e0516035a4ad00d1f6a459c11bf94 (patch)
tree48a1fc0dcc683353672afd467ca1481cc7a79591
parent11619a37bff79c050e39e434bc9899b516cbe4a1 (diff)
remove no-op "horizontal_position_changed()" method from StreamView and RouteTimeAxisView
-rw-r--r--gtk2_ardour/route_time_axis.cc9
-rw-r--r--gtk2_ardour/route_time_axis.h1
-rw-r--r--gtk2_ardour/streamview.h1
3 files changed, 0 insertions, 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<Route> 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();
@@ -896,14 +895,6 @@ RouteTimeAxisView::reset_samples_per_pixel ()
}
void
-RouteTimeAxisView::horizontal_position_changed ()
-{
- if (_view) {
- _view->horizontal_position_changed ();
- }
-}
-
-void
RouteTimeAxisView::set_samples_per_pixel (double fpp)
{
double speed = 1.0;
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 ();