summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-01-15 00:52:22 +0000
committerCarl Hetherington <carl@carlh.net>2010-01-15 00:52:22 +0000
commit43e8e880dc25a52b6a929b9c5eebfbe348c43e95 (patch)
treec14a1bd69d98091963b9ff0692a5e26d70bc166a /gtk2_ardour/utils.h
parentbbb65d07d33160366533d9f2390f3f8d56fcb8e1 (diff)
Escape underscores in port matrix menus correctly so that track names etc. with underscores get displayed properly.
git-svn-id: svn://localhost/ardour2/branches/3.0@6491 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/utils.h')
-rw-r--r--gtk2_ardour/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils.h b/gtk2_ardour/utils.h
index e742e89cd5..9ee66729fc 100644
--- a/gtk2_ardour/utils.h
+++ b/gtk2_ardour/utils.h
@@ -95,4 +95,6 @@ Glib::RefPtr<Gdk::Pixbuf> pixbuf_from_ustring (const Glib::ustring& name,
void resize_window_to_proportion_of_monitor (Gtk::Window*, int, int);
+std::string escape_underscores (std::string const &);
+
#endif /* __ardour_gtk_utils_h__ */