yet another multi-ABI bundle installer fix
[ardour.git] / gtk2_ardour / search_path_option.cc
index 8a5d99a3753d712a28bb53588793339a0786f09a..925b9834cbd4ba12f8c09361f29f158879fae625 100644 (file)
@@ -21,7 +21,7 @@
 #include "pbd/shortpath.h"
 
 #include "search_path_option.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
 
 using namespace std;
 using namespace Gtk;
@@ -103,7 +103,7 @@ SearchPathOption::set_state_from_config ()
         clear ();
         path_box.pack_start (session_label);
 
-        split (str, dirs, ':');
+        split (str, dirs, G_SEARCHPATH_SEPARATOR);
 
         for (vector<string>::iterator d = dirs.begin(); d != dirs.end(); ++d) {
                 add_path (*d);
@@ -118,7 +118,7 @@ SearchPathOption::changed ()
         for (list<PathEntry*>::iterator p = paths.begin(); p != paths.end(); ++p) {
 
                 if (!str.empty()) {
-                        str += ':';
+                        str += G_SEARCHPATH_SEPARATOR;
                 }
                 str += (*p)->entry.get_text ();
         }