reworked variant of john’s soundfile locale fix
authorRobin Gareus <robin@gareus.org>
Fri, 17 Jul 2015 14:03:24 +0000 (16:03 +0200)
committerRobin Gareus <robin@gareus.org>
Fri, 17 Jul 2015 14:03:24 +0000 (16:03 +0200)
commit9da934ff296ce47845f38353367daff9bb0aa598
treec7b547f2495db624b19a6c7ecc15cad990e9a7e4
parent9673e6b2716d2ac1adf3f3ca277bbef60ed4e7cb
reworked variant of john’s soundfile locale fix

see 87b89a6

IMPORTANT NOTE: In theory, the correct glibmm function should have been Glib::filename_from_utf8() but I couldn't make that work on Windows and
ended up using Glib::locale_from_utf8() instead. sfdb import will therefore
need to get re-tested on the other platforms (especially in a non-English locale).

If this fix doesn't work we should probably revert to the previous strategy
but using the global specifier "::g_open()" explicitly…
… and only on PLATFORM_WINDOWS  (POSIX #define g_open open) fails regardless.
gtk2_ardour/sfdb_ui.cc
libs/ardour/sndfileimportable.cc
libs/ardour/sndfilesource.cc