#include <cstdio> /* for snprintf, grrr */
#include <glib.h>
-#include <glib/gstdio.h> /* for g_stat() */
+#include "pbd/gstdio_compat.h"
#include <glibmm/miscutils.h>
#include "pbd/xml++.h"
#include "ardour/rc_configuration.h"
#include "ardour/session_metadata.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace ARDOUR;
using namespace std;
}
if (statbuf.st_size != 0) {
- info << string_compose (_("Loading system configuration file %1"), rcfile) << endl;
+ info << string_compose (_("Loading system configuration file %1"), rcfile) << endmsg;
XMLTree tree;
if (!tree.read (rcfile.c_str())) {
}
if (statbuf.st_size != 0) {
- info << string_compose (_("Loading user configuration file %1"), rcfile) << endl;
+ info << string_compose (_("Loading user configuration file %1"), rcfile) << endmsg;
XMLTree tree;
if (!tree.read (rcfile)) {
RCConfiguration::get_state ()
{
XMLNode* root;
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg;
root = new XMLNode("Ardour");
RCConfiguration::get_variables ()
{
XMLNode* node;
- LocaleGuard lg (X_("C"));
+ LocaleGuard lg;
node = new XMLNode ("Config");
XMLNodeList nlist = root.children();
XMLNodeConstIterator niter;
XMLNode *node;
+ LocaleGuard lg;
Stateful::save_extra_xml (root);