diff options
author | Robin Gareus <robin@gareus.org> | 2015-09-19 18:38:56 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-09-19 19:00:43 +0200 |
commit | c829c10a74475ef6157408aa0e234b2a0fd43917 (patch) | |
tree | 6a1d4d87eead2e11fc97654d540611b18fed6ce4 /gtk2_ardour/splash.cc | |
parent | bd5b97e964d23bc51ef737ae239ab9822b254cbb (diff) |
band-aid for Glib::operator<<
it seems that g_locale_from_utf8() (called by <<) is not thread safe,
at least not on OSX.
glib error-code 1, Invalid byte sequence in conversion input
-> throws Glib::Error.
possible fix for #6435, route-creation is interrupted via catch(...)
Diffstat (limited to 'gtk2_ardour/splash.cc')
-rw-r--r-- | gtk2_ardour/splash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/splash.cc b/gtk2_ardour/splash.cc index ff9e133eb0..409749d062 100644 --- a/gtk2_ardour/splash.cc +++ b/gtk2_ardour/splash.cc @@ -223,7 +223,7 @@ void Splash::message (const string& msg) { string str ("<b>"); - str += Glib::Markup::escape_text (msg); + str += Glib::Markup::escape_text (msg).c_str(); str += "</b>"; show (); |