summaryrefslogtreecommitdiff
path: root/libs/pbd
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-07-25 20:09:32 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-07-25 23:14:50 +1000
commit44cba5321908e625c71b9c0eb9832384d6e0dc80 (patch)
treefa79cd01358841fc5c5df70837a91fc79bc1eb05 /libs/pbd
parente3c303d72f4fc0ee8ea2ed76dd87b05f50a924f5 (diff)
Revert "When saving a session (in a non-English locale) make sure that we use a locale-specific path"
This reverts commit cf5a8651d848fa5333e1c567286fc0eec2b0a0f7.
Diffstat (limited to 'libs/pbd')
-rw-r--r--libs/pbd/xml++.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/pbd/xml++.cc b/libs/pbd/xml++.cc
index 3c6541fd56..5fb777bdc7 100644
--- a/libs/pbd/xml++.cc
+++ b/libs/pbd/xml++.cc
@@ -11,8 +11,6 @@
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
-#include <glibmm/convert.h>
-
xmlChar* xml_version = xmlCharStrdup("1.0");
using namespace std;
@@ -156,7 +154,7 @@ XMLTree::write() const
doc = xmlNewDoc(xml_version);
xmlSetDocCompressMode(doc, _compression);
writenode(doc, _root, doc->children, 1);
- result = xmlSaveFormatFileEnc(Glib::locale_from_utf8 (_filename).c_str(), doc, "UTF-8", 1);
+ result = xmlSaveFormatFileEnc(_filename.c_str(), doc, "UTF-8", 1);
#ifndef NDEBUG
if (result == -1) {
xmlErrorPtr xerr = xmlGetLastError ();