summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_ops.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-10-26 23:43:04 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-10-26 23:43:04 +0000
commit0cc0c13444408163e5555a2a1deb32d8f79ec826 (patch)
tree252047abb98f62d9176bcec404087c6a63865522 /gtk2_ardour/editor_ops.cc
parentb6e90314b0087e870ad21ce658b92bd23851fe29 (diff)
provide accessors to Editor::snap_{type,mode} ; when nudging notes, use grid in preference to nudge clock
git-svn-id: svn://localhost/ardour2/branches/3.0@5934 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r--gtk2_ardour/editor_ops.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc
index 7f5907dec6..a128ed6cf2 100644
--- a/gtk2_ardour/editor_ops.cc
+++ b/gtk2_ardour/editor_ops.cc
@@ -125,7 +125,7 @@ Editor::split_regions_at (nframes64_t where, RegionSelection& regions)
// region boundaries, don't pay attention to them
if (regions.size() == 1) {
- switch (snap_type) {
+ switch (_snap_type) {
case SnapToRegionStart:
case SnapToRegionSync:
case SnapToRegionEnd:
@@ -579,7 +579,7 @@ Editor::build_region_boundary_cache ()
return;
}
- switch (snap_type) {
+ switch (_snap_type) {
case SnapToRegionStart:
interesting_points.push_back (Start);
break;
@@ -594,7 +594,7 @@ Editor::build_region_boundary_cache ()
interesting_points.push_back (End);
break;
default:
- fatal << string_compose (_("build_region_boundary_cache called with snap_type = %1"), snap_type) << endmsg;
+ fatal << string_compose (_("build_region_boundary_cache called with snap_type = %1"), _snap_type) << endmsg;
/*NOTREACHED*/
return;
}