mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
make all use of bind/mem_fun be explicitly sigc::
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d7de23db0f
commit
64dc5427e4
123 changed files with 2178 additions and 2186 deletions
|
|
@ -45,16 +45,16 @@ AutomationController::AutomationController(boost::shared_ptr<AutomationControl>
|
|||
set_style (BarController::LeftToRight);
|
||||
set_use_parent (true);
|
||||
|
||||
StartGesture.connect (mem_fun(*this, &AutomationController::start_touch));
|
||||
StopGesture.connect (mem_fun(*this, &AutomationController::end_touch));
|
||||
StartGesture.connect (sigc::mem_fun(*this, &AutomationController::start_touch));
|
||||
StopGesture.connect (sigc::mem_fun(*this, &AutomationController::end_touch));
|
||||
|
||||
_adjustment->signal_value_changed().connect (
|
||||
mem_fun(*this, &AutomationController::value_adjusted));
|
||||
sigc::mem_fun(*this, &AutomationController::value_adjusted));
|
||||
|
||||
_screen_update_connection = ARDOUR_UI::RapidScreenUpdate.connect (
|
||||
mem_fun (*this, &AutomationController::display_effective_value));
|
||||
sigc::mem_fun (*this, &AutomationController::display_effective_value));
|
||||
|
||||
ac->Changed.connect (mem_fun(*this, &AutomationController::value_changed));
|
||||
ac->Changed.connect (sigc::mem_fun(*this, &AutomationController::value_changed));
|
||||
}
|
||||
|
||||
AutomationController::~AutomationController()
|
||||
|
|
@ -130,7 +130,7 @@ AutomationController::end_touch()
|
|||
void
|
||||
AutomationController::automation_state_changed ()
|
||||
{
|
||||
ENSURE_GUI_THREAD(mem_fun(*this, &AutomationController::automation_state_changed));
|
||||
ENSURE_GUI_THREAD (*this, &AutomationController::automation_state_changed)
|
||||
|
||||
bool x = (_controllable->automation_state() != Off);
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ AutomationController::automation_state_changed ()
|
|||
|
||||
if (x) {
|
||||
_screen_update_connection = ARDOUR_UI::RapidScreenUpdate.connect (
|
||||
mem_fun (*this, &AutomationController::display_effective_value));
|
||||
sigc::mem_fun (*this, &AutomationController::display_effective_value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -148,6 +148,6 @@ void
|
|||
AutomationController::value_changed ()
|
||||
{
|
||||
Gtkmm2ext::UI::instance()->call_slot (
|
||||
mem_fun(*this, &AutomationController::display_effective_value));
|
||||
sigc::mem_fun(*this, &AutomationController::display_effective_value));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue