summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_selection.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-01-02 00:17:55 +0000
committerCarl Hetherington <carl@carlh.net>2009-01-02 00:17:55 +0000
commit042997e5ed35778c5309b6119ca1dcf8f696c3cc (patch)
treef96471702eeeb27211afe7baf53fd3d3e230fa32 /gtk2_ardour/region_selection.cc
parent69ed2a3c2784ff5c02b68435bcb0c3f2b80e0b4b (diff)
Cleanups and a few comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@4374 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_selection.cc')
-rw-r--r--gtk2_ardour/region_selection.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/region_selection.cc b/gtk2_ardour/region_selection.cc
index 2e4eaaadcd..d1970138c5 100644
--- a/gtk2_ardour/region_selection.cc
+++ b/gtk2_ardour/region_selection.cc
@@ -268,10 +268,10 @@ struct RegionSortByTrack {
/* really, track and position */
- if (a->get_trackview().order == b->get_trackview().order) {
+ if (a->get_trackview().order() == b->get_trackview().order()) {
return a->region()->position() < b->region()->position();
} else {
- return a->get_trackview().order < b->get_trackview().order;
+ return a->get_trackview().order() < b->get_trackview().order();
}
}
};