summaryrefslogtreecommitdiff
path: root/gtk2_ardour/automation_streamview.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-06-03 00:23:34 +0000
committerCarl Hetherington <carl@carlh.net>2009-06-03 00:23:34 +0000
commita75e811edb7aa1da6359f5e2a104e582e2848e47 (patch)
treeecce91c408e9ef9cade62c2f055b73e67a648809 /gtk2_ardour/automation_streamview.cc
parent27915ccdc07d4463daa1fbf61d3d6764e0aea67e (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/automation_streamview.cc')
-rw-r--r--gtk2_ardour/automation_streamview.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_streamview.cc b/gtk2_ardour/automation_streamview.cc
index c36085a77c..0ba49fd2d9 100644
--- a/gtk2_ardour/automation_streamview.cc
+++ b/gtk2_ardour/automation_streamview.cc
@@ -167,7 +167,8 @@ AutomationStreamView::redisplay_diskstream ()
// Add and display region views, and flag them as valid
if (_trackview.is_track()) {
_trackview.get_diskstream()->playlist()->foreach_region (
- static_cast<StreamView*>(this), &StreamView::add_region_view);
+ sigc::mem_fun (*this, &StreamView::add_region_view)
+ );
}
// Stack regions by layer, and remove invalid regions