From 803f3a6a307bea4bdd804041a0e0a846f48938ee Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Aug 2010 17:31:49 +0000 Subject: [PATCH] Small cleanups. git-svn-id: svn://localhost/ardour2/branches/3.0@7683 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/session.h | 2 -- libs/ardour/session.cc | 20 -------------------- libs/pbd/pbd/sequence_property.h | 2 -- 3 files changed, 24 deletions(-) diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 4e3b025a4b..c408714c94 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -297,8 +297,6 @@ class Session : public PBD::StatefulDestructible, public PBD::ScopedConnectionLi nframes_t last_transport_start() const { return _last_roll_location; } void goto_end (); void goto_start (); - void set_session_start (nframes_t); - void set_session_end (nframes_t); void use_rf_shuttle_speed (); void allow_auto_play (bool yn); void request_transport_speed (double speed); diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index bfbe1f1312..ee475c0f32 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3960,26 +3960,6 @@ Session::goto_start () } } -void -Session::set_session_start (nframes_t start) -{ - if (_session_range_location) { - _session_range_location->set_start (start); - } else { - add_session_range_location (start, start); - } -} - -void -Session::set_session_end (nframes_t end) -{ - if (_session_range_location) { - _session_range_location->set_end (end); - } else { - add_session_range_location (end, end); - } -} - nframes_t Session::current_start_frame () const { diff --git a/libs/pbd/pbd/sequence_property.h b/libs/pbd/pbd/sequence_property.h index e92aa5c68e..0077410421 100644 --- a/libs/pbd/pbd/sequence_property.h +++ b/libs/pbd/pbd/sequence_property.h @@ -216,8 +216,6 @@ class SequenceProperty : public PropertyBase } } - - Container rlist() { return _val; } /* Wrap salient methods of Sequence