- _send->input()->changed.connect (mem_fun (*this, &SendUI::ins_changed));
- _send->output()->changed.connect (mem_fun (*this, &SendUI::outs_changed));
+ _send->input()->changed.connect (connections, invalidator (*this), ui_bind (&SendUI::ins_changed, this, _1, _2), gui_context());
+ _send->output()->changed.connect (connections, invalidator (*this), ui_bind (&SendUI::outs_changed, this, _1, _2), gui_context());