ConfigurationVariable is now using PBD::to_string/string_to for float <=>
string conversions so LocaleGuard is no longer necessary.
#include "pbd/error.h"
#include "pbd/file_utils.h"
#include "pbd/error.h"
#include "pbd/file_utils.h"
-#include "pbd/locale_guard.h"
#include "pbd/pathexpand.h"
#include "ardour/types.h"
#include "pbd/pathexpand.h"
#include "ardour/types.h"
SessionConfiguration::get_state ()
{
XMLNode* root;
SessionConfiguration::get_state ()
{
XMLNode* root;
root = new XMLNode ("Ardour");
root->add_child_nocopy (get_variables ());
root = new XMLNode ("Ardour");
root->add_child_nocopy (get_variables ());
SessionConfiguration::get_variables ()
{
XMLNode* node;
SessionConfiguration::get_variables ()
{
XMLNode* node;
node = new XMLNode ("Config");
node = new XMLNode ("Config");
XMLNode* node;
if (((node = find_named_node (root, X_("Config"))) != 0)) {
XMLNode* node;
if (((node = find_named_node (root, X_("Config"))) != 0)) {
set_variables(*node);
info << _("Loaded custom session defaults.") << endmsg;
} else {
set_variables(*node);
info << _("Loaded custom session defaults.") << endmsg;
} else {