mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
replaced slot() with mem_fun() and ptr_fun().
git-svn-id: svn://localhost/trunk/ardour2@29 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e493b2b7c4
commit
d38e2213d7
72 changed files with 1637 additions and 1637 deletions
|
|
@ -32,7 +32,7 @@ Editor::add_imageframe_time_axis(std::string track_name, void* src)
|
|||
}
|
||||
else
|
||||
{
|
||||
Gtkmm2ext::UI::instance()->call_slot(bind(slot(*this, &Editor::handle_new_imageframe_time_axis_view),track_name, src)) ;
|
||||
Gtkmm2ext::UI::instance()->call_slot(bind(mem_fun(*this, &Editor::handle_new_imageframe_time_axis_view),track_name, src)) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ Editor::add_imageframe_marker_time_axis(std::string track_name, TimeAxisView* ma
|
|||
// Can we only bind 2 data Items?
|
||||
// @todo we really want to bind the src attribute too, for the moment tracks can only be added remotely,
|
||||
// so this is not too much of an issue, however will need to be looked at again
|
||||
Gtkmm2ext::UI::instance()->call_slot(SigC::bind(slot(*this, &Editor::handle_new_imageframe_marker_time_axis_view),track_name, marked_track)) ;
|
||||
Gtkmm2ext::UI::instance()->call_slot(sigc::bind(mem_fun(*this, &Editor::handle_new_imageframe_marker_time_axis_view),track_name, marked_track)) ;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -1157,8 +1157,8 @@ Editor::handle_new_imageframe_time_axis_view(std::string track_name, void* src)
|
|||
route_list.rows().push_back(rowdata) ;
|
||||
route_list.rows().back().set_data(iftav) ;
|
||||
route_list.rows().back().select() ;
|
||||
iftav->GoingAway.connect(bind(slot(*this, &Editor::remove_route), (TimeAxisView*)iftav)) ;
|
||||
iftav->gui_changed.connect(slot(*this, &Editor::handle_gui_changes)) ;
|
||||
iftav->GoingAway.connect(bind(mem_fun(*this, &Editor::remove_route), (TimeAxisView*)iftav)) ;
|
||||
iftav->gui_changed.connect(mem_fun(*this, &Editor::handle_gui_changes)) ;
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -1172,7 +1172,7 @@ Editor::handle_new_imageframe_marker_time_axis_view(std::string track_name, Time
|
|||
route_list.rows().push_back(rowdata) ;
|
||||
route_list.rows().back().set_data (mta) ;
|
||||
route_list.rows().back().select() ;
|
||||
mta->GoingAway.connect(bind(slot (*this, &Editor::remove_route), (TimeAxisView*)mta)) ;
|
||||
mta->GoingAway.connect(bind(mem_fun(*this, &Editor::remove_route), (TimeAxisView*)mta)) ;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue