summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_route_list.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r--gtk2_ardour/editor_route_list.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc
index eb994d06b9..bb38953038 100644
--- a/gtk2_ardour/editor_route_list.cc
+++ b/gtk2_ardour/editor_route_list.cc
@@ -55,9 +55,9 @@ Editor::handle_new_route (boost::shared_ptr<Route> route)
// FIXME
DataType type = route->default_type();
- assert(type == ARDOUR::AUDIO || type == ARDOUR::MIDI);
+ assert(type == ARDOUR::DataType::AUDIO || type == ARDOUR::DataType::MIDI);
- if (type == ARDOUR::AUDIO)
+ if (type == ARDOUR::DataType::AUDIO)
tv = new AudioTimeAxisView (*this, *session, route, track_canvas);
else
tv = new MidiTimeAxisView (*this, *session, route, track_canvas);