summaryrefslogtreecommitdiff
path: root/libs/ardour/recent_sessions.cc
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2006-03-12 16:19:03 +0000
committerTim Mayberry <mojofunk@gmail.com>2006-03-12 16:19:03 +0000
commita8640ec0af8a477b35ddfd9b83d8704e63edf978 (patch)
tree74ef1d33983d911faec6671be963e22f2445e35e /libs/ardour/recent_sessions.cc
parent670641c3df89af73de36efa5b0a184c2430275b0 (diff)
removed the following environment variables:
ARDOUR_GLADE_PATH ARDOUR_RC ARDOUR_UI ARDOUR_UI_RC ARDOUR_BINDINGS ARDOUR_COLORS They have been replaced with just one environment variable called ARDOUR_PATH which can contain a number of colon separated paths that are used to find various configuration and data files. Files located in ARDOUR_PATH have priority over files in ~/.ardour/ and in the system path. Moved two member functions of the Configuration class into globals.cc as they should of been static and I'm trying to keep the non-portable code together when it makes sense. git-svn-id: svn://localhost/trunk/ardour2@380 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/recent_sessions.cc')
-rw-r--r--libs/ardour/recent_sessions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/recent_sessions.cc b/libs/ardour/recent_sessions.cc
index a5c6b210ee..efbdb807f7 100644
--- a/libs/ardour/recent_sessions.cc
+++ b/libs/ardour/recent_sessions.cc
@@ -34,7 +34,7 @@ using namespace ARDOUR;
int
ARDOUR::read_recent_sessions (RecentSessions& rs)
{
- string path = Config->get_user_ardour_path();
+ string path = get_user_ardour_path();
path += "/recent";
ifstream recent (path.c_str());
@@ -82,7 +82,7 @@ ARDOUR::read_recent_sessions (RecentSessions& rs)
int
ARDOUR::write_recent_sessions (RecentSessions& rs)
{
- string path = Config->get_user_ardour_path();
+ string path = get_user_ardour_path();
path += "/recent";
ofstream recent (path.c_str());