summaryrefslogtreecommitdiff
path: root/gtk2_ardour/send_ui.cc
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2005-09-25 21:19:23 +0000
committerTaybin Rutkin <taybin@taybin.com>2005-09-25 21:19:23 +0000
commitd38e2213d79b1c8952c776a3b60f7709457edc0c (patch)
tree4d441ade9897b3c4749bfeb53c18f5841bdafbf9 /gtk2_ardour/send_ui.cc
parente493b2b7c4fbbbfc457f02babf9546289b430177 (diff)
replaced slot() with mem_fun() and ptr_fun().
git-svn-id: svn://localhost/trunk/ardour2@29 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/send_ui.cc')
-rw-r--r--gtk2_ardour/send_ui.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk2_ardour/send_ui.cc b/gtk2_ardour/send_ui.cc
index 109dcecd30..ed5a6c9e11 100644
--- a/gtk2_ardour/send_ui.cc
+++ b/gtk2_ardour/send_ui.cc
@@ -54,8 +54,8 @@ SendUI::SendUI (Send& s, Session& se)
_send.set_metering (true);
- _send.output_changed.connect (slot (*this, &SendUI::ins_changed));
- _send.output_changed.connect (slot (*this, &SendUI::outs_changed));
+ _send.output_changed.connect (mem_fun (*this, &SendUI::ins_changed));
+ _send.output_changed.connect (mem_fun (*this, &SendUI::outs_changed));
panners.set_width (Wide);
panners.setup_pan ();
@@ -63,8 +63,8 @@ SendUI::SendUI (Send& s, Session& se)
gpm.setup_meters ();
gpm.set_fader_name ("SendUIFrame");
- screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (slot (*this, &SendUI::update));
- fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (slot (*this, &SendUI::fast_update));
+ screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect (mem_fun (*this, &SendUI::update));
+ fast_screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (mem_fun (*this, &SendUI::fast_update));
}
SendUI::~SendUI ()
@@ -80,7 +80,7 @@ SendUI::~SendUI ()
void
SendUI::ins_changed (IOChange change, void* ignored)
{
- ENSURE_GUI_THREAD(bind (slot (*this, &SendUI::ins_changed), change, ignored));
+ ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUI::ins_changed), change, ignored));
if (change & ConfigurationChanged) {
panners.setup_pan ();
}
@@ -89,7 +89,7 @@ SendUI::ins_changed (IOChange change, void* ignored)
void
SendUI::outs_changed (IOChange change, void* ignored)
{
- ENSURE_GUI_THREAD(bind (slot (*this, &SendUI::outs_changed), change, ignored));
+ ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUI::outs_changed), change, ignored));
if (change & ConfigurationChanged) {
panners.setup_pan ();
gpm.setup_meters ();
@@ -99,7 +99,7 @@ SendUI::outs_changed (IOChange change, void* ignored)
void
SendUI::send_going_away (Redirect *ignored)
{
- ENSURE_GUI_THREAD (bind (slot (*this, &SendUI::send_going_away), ignored));
+ ENSURE_GUI_THREAD (bind (mem_fun (*this, &SendUI::send_going_away), ignored));
delete this;
}
@@ -131,9 +131,9 @@ SendUIWindow::SendUIWindow (Send& s, Session& ss)
add (vpacker);
set_name ("SendUIWindow");
- s.GoingAway.connect (slot (*this, &SendUIWindow::send_going_away));
+ s.GoingAway.connect (mem_fun (*this, &SendUIWindow::send_going_away));
- delete_event.connect (bind (slot (just_hide_it), reinterpret_cast<Window *> (this)));
+ delete_event.connect (bind (ptr_fun (just_hide_it), reinterpret_cast<Window *> (this)));
}
@@ -145,7 +145,7 @@ SendUIWindow::~SendUIWindow ()
void
SendUIWindow::send_going_away (Redirect *ignored)
{
- ENSURE_GUI_THREAD(bind (slot (*this, &SendUIWindow::send_going_away), ignored));
+ ENSURE_GUI_THREAD(bind (mem_fun (*this, &SendUIWindow::send_going_away), ignored));
delete this;
}