diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-01-13 19:48:55 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-01-13 19:48:55 +0000 |
commit | 6817b59169b2c334245f8018d7e3f2235e195aa0 (patch) | |
tree | 030f9138e15dbae4d033083c3e5b89a41367345c /gtk2_ardour/route_ui.cc | |
parent | f5aef674d3c7a6541932be6e835d4e35f4be7920 (diff) |
Moved strip_whitespace_edges() to pbd/whitespace.h
Gtkmm2ext::Prompter::get_result() calls strip_whitespace_edges(), so you don't have to.
Removed unused/unecessary/forgotten headers from libpbd.
git-svn-id: svn://localhost/trunk/ardour2@270 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_ui.cc')
-rw-r--r-- | gtk2_ardour/route_ui.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/route_ui.cc b/gtk2_ardour/route_ui.cc index 82b6cac3bd..ed93c55811 100644 --- a/gtk2_ardour/route_ui.cc +++ b/gtk2_ardour/route_ui.cc @@ -740,10 +740,9 @@ RouteUI::route_rename () switch (name_prompter.run ()) { - case GTK_RESPONSE_ACCEPT: - name_prompter.get_result (result); - if (result.length()) { - strip_whitespace_edges (result); + case Gtk::RESPONSE_ACCEPT: + name_prompter.get_result (result); + if (result.length()) { _route.set_name (result, this); } break; |