diff options
author | Carl Hetherington <carl@carlh.net> | 2011-01-30 13:05:45 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-01-30 13:05:45 +0000 |
commit | 932b031a2eec2e88f60a149901a279ede1b7e3b4 (patch) | |
tree | 3a253ea48467d6c78083714b05102cde3c641100 /gtk2_ardour/canvas-flag.cc | |
parent | 5de741c4ab9970bee830a60efa07e26f219aecef (diff) |
No-op; very minor cleanup.
git-svn-id: svn://localhost/ardour2/branches/3.0@8620 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-flag.cc')
-rw-r--r-- | gtk2_ardour/canvas-flag.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/canvas-flag.cc b/gtk2_ardour/canvas-flag.cc index 1a85cc9644..30299641ed 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, 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; |