mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Avoid calls to Glib::ustring << operator at all cost.
Glib::operator<<(std::ostream&, Glib::ustring const&) involves loadlocale which is not thread-safe on OSX. This fixes various seemingly random crashes on OSX.
This commit is contained in:
parent
5eefdf7536
commit
8b80fe04ad
8 changed files with 21 additions and 21 deletions
|
|
@ -700,7 +700,7 @@ SessionDialog::redisplay_recent_sessions ()
|
|||
g_stat (s.c_str(), &gsb);
|
||||
|
||||
row[recent_session_columns.fullpath] = dirname; /* just the dir, but this works too */
|
||||
row[recent_session_columns.tip] = Glib::Markup::escape_text (dirname);
|
||||
row[recent_session_columns.tip] = Glib::Markup::escape_text (dirname).c_str();
|
||||
row[recent_session_columns.time_modified] = gsb.st_mtime;
|
||||
|
||||
if (Session::get_info_from_path (s, sr, sf) == 0) {
|
||||
|
|
@ -739,7 +739,7 @@ SessionDialog::redisplay_recent_sessions ()
|
|||
|
||||
child_row[recent_session_columns.visible_name] = *i2;
|
||||
child_row[recent_session_columns.fullpath] = s;
|
||||
child_row[recent_session_columns.tip] = Glib::Markup::escape_text (dirname);
|
||||
child_row[recent_session_columns.tip] = Glib::Markup::escape_text (dirname).c_str();
|
||||
g_stat (s.c_str(), &gsb);
|
||||
child_row[recent_session_columns.time_modified] = gsb.st_mtime;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue