summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 3c2bd6a96f..c8fff1e348 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -1108,7 +1108,7 @@ Editor::handle_new_duration ()
}
void
-Editor::update_title_s (stringcr_t snap_name)
+Editor::update_title_s (const string & snap_name)
{
ENSURE_GUI_THREAD(bind (mem_fun(*this, &Editor::update_title_s), snap_name));
@@ -3419,7 +3419,7 @@ Editor::hide_verbose_canvas_cursor ()
}
void
-Editor::set_verbose_canvas_cursor (stringcr_t txt, double x, double y)
+Editor::set_verbose_canvas_cursor (const string & txt, double x, double y)
{
/* XXX get origin of canvas relative to root window,
add x and y and check compared to gdk_screen_{width,height}
@@ -3430,7 +3430,7 @@ Editor::set_verbose_canvas_cursor (stringcr_t txt, double x, double y)
}
void
-Editor::set_verbose_canvas_cursor_text (stringcr_t txt)
+Editor::set_verbose_canvas_cursor_text (const string & txt)
{
verbose_canvas_cursor->property_text() = txt.c_str();
}