X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Frecent_sessions.cc;h=fd0b9b1b1d3127f84ae0edd9210e285ca04786a2;hb=cf52d6e4b40111eb04b244ec054055a4ec15dbe0;hp=22244c80ba7ae5f6a881c92fcf725cbb6a93509e;hpb=7ac691ec821c1986282ba9e25b3890dcf07e3e51;p=ardour.git diff --git a/libs/ardour/recent_sessions.cc b/libs/ardour/recent_sessions.cc index 22244c80ba..fd0b9b1b1d 100644 --- a/libs/ardour/recent_sessions.cc +++ b/libs/ardour/recent_sessions.cc @@ -19,12 +19,10 @@ #include #include -#include -#include #include #include -#include +#include "pbd/gstdio_compat.h" #include #include "pbd/error.h" @@ -33,7 +31,7 @@ #include "ardour/filesystem_paths.h" #include "ardour/recent_sessions.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; using namespace ARDOUR; @@ -163,12 +161,6 @@ ARDOUR::write_recent_sessions (RecentSessions& rs) { stringstream recent; - //ofstream recent (fout); - - // if (!recent) { - // fclose (fout); - // return -1; - // } for (RecentSessions::iterator i = rs.begin(); i != rs.end(); ++i) { recent << (*i).first << '\n' << (*i).second << endl;