diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-08-18 17:35:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-08-18 17:35:34 +0000 |
commit | e626152a22232895357a5e1381e3d49af7b130d5 (patch) | |
tree | 26e2c191c936ecb8eb9aabed3434379733daf217 /gtk2_ardour/time_axis_view_item.cc | |
parent | 115934e6abfa124d1e93ecb7c212083a1b255fae (diff) |
remove use of Glib::ustring from gtk2_ardour
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@10006 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index d3f720c253..b9753f40da 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -548,7 +548,7 @@ TimeAxisViewItem::get_time_axis_view() * @param new_name the new name text to display */ void -TimeAxisViewItem::set_name_text(const ustring& new_name) +TimeAxisViewItem::set_name_text(const string& new_name) { if (!name_pixbuf) { return; @@ -558,7 +558,7 @@ TimeAxisViewItem::set_name_text(const ustring& new_name) last_item_width = trackview.editor.frame_to_pixel(item_duration); name_pixbuf_width = pixel_width (new_name, *NAME_FONT) + 2; - name_pixbuf->property_pixbuf() = pixbuf_from_ustring(new_name, NAME_FONT, + name_pixbuf->property_pixbuf() = pixbuf_from_string(new_name, NAME_FONT, ARDOUR_UI::config()->canvasvar_TimeAxisViewItemName.get(), name_pixbuf_width, NAME_HEIGHT); } @@ -931,7 +931,7 @@ TimeAxisViewItem::reset_name_width (double pix_width) name_pixbuf->show(); } - name_pixbuf->property_pixbuf() = pixbuf_from_ustring(item_name, NAME_FONT, + name_pixbuf->property_pixbuf() = pixbuf_from_string(item_name, NAME_FONT, ARDOUR_UI::config()->canvasvar_TimeAxisViewItemName.get(), pb_width, NAME_HEIGHT); } |