summaryrefslogtreecommitdiff
path: root/gtk2_ardour/send_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-12-19 20:26:31 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-12-19 20:26:31 +0000
commitaae367b63c9b619db1e40f27dc334c6987219481 (patch)
tree142f6ffed6bb749e24a06343587cad6b966888bd /gtk2_ardour/send_ui.cc
parent67460c2af45d0455e64623572480c064445c2e5b (diff)
use new syntax for connecting to backend signals that enforces explicit connection scope, plus a few other related matters
git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r--gtk2_ardour/send_ui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc
index 1617ccd96a..4c1bb9fec3 100644
--- a/gtk2_ardour/send_ui.cc
+++ b/gtk2_ardour/send_ui.cc
@@ -61,8 +61,8 @@ SendUI::SendUI (Gtk::Window* parent, boost::shared_ptr<Send> s, Session* session
_send->set_metering (true);
- _send->input()->changed.connect (sigc::mem_fun (*this, &SendUI::ins_changed));
- _send->output()->changed.connect (sigc::mem_fun (*this, &SendUI::outs_changed));
+ _send->input()->changed.connect (connections, boost::bind (&SendUI::ins_changed, this, _1, _2));
+ _send->output()->changed.connect (connections, boost::bind (&SendUI::outs_changed, this, _1, _2));
_panners.set_width (Wide);
_panners.setup_pan ();
@@ -130,7 +130,7 @@ SendUIWindow::SendUIWindow (boost::shared_ptr<Send> s, Session* session)
set_name ("SendUIWindow");
- going_away_connection = s->GoingAway.connect (sigc::mem_fun (*this, &SendUIWindow::send_going_away));
+ s->GoingAway.connect (going_away_connection, boost::bind (&SendUIWindow::send_going_away, this));
signal_delete_event().connect (sigc::bind (
sigc::ptr_fun (just_hide_it),