mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +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
|
|
@ -68,7 +68,7 @@ PlaylistSelector::PlaylistSelector ()
|
|||
get_vbox()->pack_start (scroller);
|
||||
|
||||
Button* b = add_button (_("close"), RESPONSE_CANCEL);
|
||||
b->signal_clicked().connect (mem_fun(*this, &PlaylistSelector::close_button_click));
|
||||
b->signal_clicked().connect (sigc::mem_fun(*this, &PlaylistSelector::close_button_click));
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -208,7 +208,7 @@ PlaylistSelector::show_for (RouteUI* ruix)
|
|||
}
|
||||
|
||||
show_all ();
|
||||
select_connection = tree.get_selection()->signal_changed().connect (mem_fun(*this, &PlaylistSelector::selection_changed));
|
||||
select_connection = tree.get_selection()->signal_changed().connect (sigc::mem_fun(*this, &PlaylistSelector::selection_changed));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -239,12 +239,12 @@ PlaylistSelector::add_playlist_to_map (boost::shared_ptr<Playlist> pl)
|
|||
void
|
||||
PlaylistSelector::set_session (Session* s)
|
||||
{
|
||||
ENSURE_GUI_THREAD(bind (mem_fun(*this, &PlaylistSelector::set_session), s));
|
||||
ENSURE_GUI_THREAD (*this, &PlaylistSelector::set_session, s)
|
||||
|
||||
session = s;
|
||||
|
||||
if (session) {
|
||||
session->GoingAway.connect (bind (mem_fun(*this, &PlaylistSelector::set_session), static_cast<Session*> (0)));
|
||||
session->GoingAway.connect (sigc::bind (sigc::mem_fun(*this, &PlaylistSelector::set_session), static_cast<Session*> (0)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue