diff options
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index f61ee95608..6a4ae6482b 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -23,6 +23,8 @@ #include <string> #include <list> +#include <boost/smart_ptr/scoped_ptr.hpp> + #include <gtkmm/separator.h> #include "pbd/error.h" @@ -149,7 +151,7 @@ TimeAxisView::TimeAxisView (ARDOUR::Session* sess, PublicEditor& ed, TimeAxisVie set_tooltip (name_label, _("Track/Bus name (double click to edit)")); { - std::auto_ptr<Gtk::Entry> an_entry (new FocusEntry); + boost::scoped_ptr<Gtk::Entry> an_entry (new FocusEntry); an_entry->set_name (X_("TrackNameEditor")); Gtk::Requisition req; an_entry->size_request (req); |