X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fardour%2Fsession_configuration.cc;h=b8814711f376a856e6fea8df430cf9ceb8a89bbe;hb=c8c6bca6587450ff64303dbc994a4cd28d6ce7aa;hp=2daeee334801aae2099895b8e91c001968816ea6;hpb=ced4378d0914bcfb926267772c45d1d23f3bed38;p=ardour.git diff --git a/libs/ardour/session_configuration.cc b/libs/ardour/session_configuration.cc index 2daeee3348..b8814711f3 100644 --- a/libs/ardour/session_configuration.cc +++ b/libs/ardour/session_configuration.cc @@ -18,7 +18,7 @@ */ #include -#include /* for g_stat() */ +#include "pbd/gstdio_compat.h" #include /* for build_filename() */ #include "pbd/error.h" @@ -30,7 +30,7 @@ #include "ardour/filesystem_paths.h" #include "ardour/session_configuration.h" #include "ardour/utils.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; using namespace PBD; @@ -54,7 +54,7 @@ XMLNode& SessionConfiguration::get_state () { XMLNode* root; - LocaleGuard lg (X_("C")); + LocaleGuard lg; root = new XMLNode ("Ardour"); root->add_child_nocopy (get_variables ()); @@ -67,7 +67,7 @@ XMLNode& SessionConfiguration::get_variables () { XMLNode* node; - LocaleGuard lg (X_("C")); + LocaleGuard lg; node = new XMLNode ("Config"); @@ -159,7 +159,7 @@ SessionConfiguration::load_state () XMLNode* node; if (((node = find_named_node (root, X_("Config"))) != 0)) { - LocaleGuard lg (X_("C")); + LocaleGuard lg; set_variables(*node); info << _("Loaded custom session defaults.") << endmsg; } else {