Use LV2_SUPPORT define instead of HAVE_SLV2.
[ardour.git] / gtk2_ardour / canvas-flag.cc
index 1a85cc9644dd2a266f4baaf6b845b17caf11aa45..30299641ede5eecbf156ac72b303f651c5d2d47d 100644 (file)
@@ -43,7 +43,7 @@ CanvasFlag::set_text(const string& a_text)
 {
        delete_allocated_objects();
 
-       _text = new Text (*this, 0.0, 0.0, std::string(a_text));
+       _text = new Text (*this, 0.0, 0.0, a_text);
        _text->property_justification() = Gtk::JUSTIFY_CENTER;
        _text->property_fill_color_rgba() = _outline_color_rgba;
        double flagwidth  = _text->property_text_width()  + 10.0;