X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fio_selector.cc;h=99050cc34ba0a5a75c728d2cf1da11cdd6004b1c;hb=57d7b5de65b399fc7d1d61a3a9212c0fa7f1e95c;hp=31f8cfa1cb70d251bbfffda7685addc04c734f0d;hpb=07be5beee7941a193fd55b584e72dbd9c8bea6fb;p=ardour.git diff --git a/gtk2_ardour/io_selector.cc b/gtk2_ardour/io_selector.cc index 31f8cfa1cb..99050cc34b 100644 --- a/gtk2_ardour/io_selector.cc +++ b/gtk2_ardour/io_selector.cc @@ -33,9 +33,10 @@ #include "io_selector.h" #include "utils.h" #include "gui_thread.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace ARDOUR; +using namespace ARDOUR_UI_UTILS; using namespace Gtk; IOSelector::IOSelector (Gtk::Window* p, ARDOUR::Session* session, boost::shared_ptr io) @@ -140,15 +141,15 @@ IOSelector::set_state (ARDOUR::BundleChannel c[2], bool s) return; } - if (s) { + if (s) { if (!f->connected_to (*j)) { _io->connect (f, *j, 0); } - } else { + } else { if (f->connected_to (*j)) { _io->disconnect (f, *j, 0); } - } + } } } } @@ -258,7 +259,7 @@ void IOSelectorWindow::io_name_changed (void*) { ENSURE_GUI_THREAD (*this, &IOSelectorWindow::io_name_changed, src) - + std::string title; if (!_selector.find_inputs_for_io_outputs()) {