path: root/libs/ardour/ardour/session.h
diff options
authorBen Loftis <>2020-01-25 11:27:31 -0600
committerRobin Gareus <>2020-01-26 19:33:41 +0100
commit2d07e72d40ca51149578a539560060b6ea3406fc (patch)
tree5d885788a5ca21ff17020177a212152126005770 /libs/ardour/ardour/session.h
parentdb465b5b439b69800c771dc8898e36d50f6cce7a (diff)
Fix the ability to set Session Start&End Range on a new, empty session
set_session_extents had a bug; it wasn't calling locations->add() on the newly created location. The correct implementation was in set_session_range_location, but this was only called from one place. This function was removed, and set_session_extents will be used in its place. set_session_extents will create a session location if one no longer exists, so there is no need for set_session_range_location.
Diffstat (limited to 'libs/ardour/ardour/session.h')
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h
index 3c01725740..807c2686eb 100644
--- a/libs/ardour/ardour/session.h
+++ b/libs/ardour/ardour/session.h
@@ -2033,8 +2033,6 @@ private:
void rt_set_controls (boost::shared_ptr<ControlList>, double val, PBD::Controllable::GroupControlDisposition group_override);
void rt_clear_all_solo_state (boost::shared_ptr<RouteList>, bool yn, PBD::Controllable::GroupControlDisposition group_override);
- void set_session_range_location (samplepos_t, samplepos_t);
void setup_midi_machine_control ();
void step_edit_status_change (bool);