diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-03 00:23:34 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-03 00:23:34 +0000 |
commit | a75e811edb7aa1da6359f5e2a104e582e2848e47 (patch) | |
tree | ecce91c408e9ef9cade62c2f055b73e67a648809 /gtk2_ardour/crossfade_edit.cc | |
parent | 27915ccdc07d4463daa1fbf61d3d6764e0aea67e (diff) |
Use sigc::slots rather than templates + function ptrs for a foreach_region and foreach_crossfade.
git-svn-id: svn://localhost/ardour2/branches/3.0@5118 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_edit.cc')
-rw-r--r-- | gtk2_ardour/crossfade_edit.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/crossfade_edit.cc b/gtk2_ardour/crossfade_edit.cc index 6b6c47f218..e239ad9fdf 100644 --- a/gtk2_ardour/crossfade_edit.cc +++ b/gtk2_ardour/crossfade_edit.cc @@ -34,7 +34,6 @@ #include "ardour/auditioner.h" #include "ardour/audioplaylist.h" #include "ardour/audiosource.h" -#include "ardour/playlist_templates.h" #include "ardour/region_factory.h" #include "ardour/profile.h" @@ -1234,7 +1233,7 @@ CrossfadeEditor::audition (Audition which) } /* there is only one ... */ - pl.foreach_crossfade (this, &CrossfadeEditor::setup); + pl.foreach_crossfade (sigc::mem_fun (*this, &CrossfadeEditor::setup)); session.audition_playlist (); } |