diff options
author | Carl Hetherington <carl@carlh.net> | 2010-04-18 23:58:21 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-04-18 23:58:21 +0000 |
commit | e4258dcaf90f514a68c6dd59067c9f623f08e973 (patch) | |
tree | 3ecd7cdba8591c28be856e8f2cb82631a7cb1e95 /libs | |
parent | 1fb2cc7ab120417d8d921a52b64a03bb526441db (diff) |
Small cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@6932 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session_state.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc index 211660c1f7..d32f61774d 100644 --- a/libs/ardour/session_state.cc +++ b/libs/ardour/session_state.cc @@ -178,7 +178,7 @@ Session::first_stage_init (string fullpath, string snapshot_name) transport_sub_state = 0; _transport_frame = 0; _requested_return_frame = -1; - _session_range_location = new Location (0, 0, _("session"), Location::Flags (Location::IsSessionRange)); + _session_range_location = new Location (0, 0, _("session"), Location::IsSessionRange); g_atomic_int_set (&_record_status, Disabled); loop_changing = false; play_loop = false; @@ -1090,7 +1090,7 @@ Session::state(bool full_state) // for a template, just create a new Locations, populate it // with the default start and end, and get the state for that. Locations loc; - Location* range = new Location (0, 0, _("session"), Location::Flags (Location::IsSessionRange)); + Location* range = new Location (0, 0, _("session"), Location::IsSessionRange); range->set (0, compute_initial_length ()); loc.add (range); node->add_child_nocopy (loc.get_state()); |