diff options
author | Robin Gareus <robin@gareus.org> | 2015-10-15 11:24:15 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-10-15 11:24:15 +0200 |
commit | 696b89b71a895dff732c734cdaa30a2e119292c8 (patch) | |
tree | 6251564deae520b45c88e9477dc659a7cb2f0c8c /gtk2_ardour/port_matrix.cc | |
parent | 79142a262ec0a02f9a43a71dd226f78a1d7cbeed (diff) |
rework 8b80fe0, use std::string, not char*
Diffstat (limited to 'gtk2_ardour/port_matrix.cc')
-rw-r--r-- | gtk2_ardour/port_matrix.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/port_matrix.cc b/gtk2_ardour/port_matrix.cc index 027778ca05..34e0f68c7e 100644 --- a/gtk2_ardour/port_matrix.cc +++ b/gtk2_ardour/port_matrix.cc @@ -32,6 +32,7 @@ #include "ardour/session.h" #include "ardour/route.h" #include "ardour/audioengine.h" +#include "gtkmm2ext/utils.h" #include "port_matrix.h" #include "port_matrix_body.h" #include "port_matrix_component.h" @@ -1041,7 +1042,7 @@ PortMatrix::update_tab_highlighting () label->set_text ((*j)->name); } else if (c.length() && c[0] != '<' && has_connection) { /* this label is not marked up with <b> but should be */ - label->set_markup (string_compose ("<b>%1</b>", Glib::Markup::escape_text ((*j)->name).c_str())); + label->set_markup (string_compose ("<b>%1</b>", Gtkmm2ext::markup_escape_text ((*j)->name))); } ++p; |