mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
rework 8b80fe0, use std::string, not char*
This commit is contained in:
parent
79142a262e
commit
696b89b71a
13 changed files with 40 additions and 32 deletions
|
|
@ -39,6 +39,8 @@
|
|||
#include "pbd/stl_delete.h"
|
||||
#include "pbd/openuri.h"
|
||||
|
||||
#include "gtkmm2ext/utils.h"
|
||||
|
||||
#include "ardour/audioengine.h"
|
||||
#include "ardour/filesystem_paths.h"
|
||||
#include "ardour/recent_sessions.h"
|
||||
|
|
@ -700,7 +702,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).c_str();
|
||||
row[recent_session_columns.tip] = Gtkmm2ext::markup_escape_text (dirname);
|
||||
row[recent_session_columns.time_modified] = gsb.st_mtime;
|
||||
|
||||
if (Session::get_info_from_path (s, sr, sf) == 0) {
|
||||
|
|
@ -739,7 +741,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).c_str();
|
||||
child_row[recent_session_columns.tip] = Gtkmm2ext::markup_escape_text (dirname);
|
||||
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