summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-10-15 11:24:15 +0200
committerRobin Gareus <robin@gareus.org>2015-10-15 11:24:15 +0200
commit696b89b71a895dff732c734cdaa30a2e119292c8 (patch)
tree6251564deae520b45c88e9477dc659a7cb2f0c8c /gtk2_ardour/route_time_axis.cc
parent79142a262ec0a02f9a43a71dd226f78a1d7cbeed (diff)
rework 8b80fe0, use std::string, not char*
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 92ae7e0a0f..41d7905bf1 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -1790,8 +1790,8 @@ RouteTimeAxisView::update_playlist_tip ()
set_tooltip (
playlist_button,
string_compose(_("Take: %1.%2"),
- Glib::Markup::escape_text(rg->name()).c_str(),
- Glib::Markup::escape_text(take_name).c_str())
+ Gtkmm2ext::markup_escape_text (rg->name()),
+ Gtkmm2ext::markup_escape_text (take_name))
);
return;
@@ -1799,7 +1799,7 @@ RouteTimeAxisView::update_playlist_tip ()
}
/* set the playlist button tooltip to the playlist name */
- set_tooltip (playlist_button, _("Playlist") + std::string(": ") + Glib::Markup::escape_text(track()->playlist()->name()).c_str());
+ set_tooltip (playlist_button, _("Playlist") + std::string(": ") + Gtkmm2ext::markup_escape_text (track()->playlist()->name()));
}