summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-flag.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/canvas-flag.cc')
-rw-r--r--gtk2_ardour/canvas-flag.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/canvas-flag.cc b/gtk2_ardour/canvas-flag.cc
index 186790ff1f..7a7919d22b 100644
--- a/gtk2_ardour/canvas-flag.cc
+++ b/gtk2_ardour/canvas-flag.cc
@@ -43,7 +43,7 @@ CanvasFlag::set_text(const string& a_text)
{
delete_allocated_objects();
- _text = new Text (*this, 0.0, 0.0, Glib::ustring(a_text));
+ _text = new Text (*this, 0.0, 0.0, std::string(a_text));
_text->property_justification() = Gtk::JUSTIFY_CENTER;
_text->property_fill_color_rgba() = _outline_color_rgba;
double flagwidth = _text->property_text_width() + 10.0;