Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
[ardour.git] / gtk2_ardour / editor_canvas.cc
index 89cf608989b413d2cd52f51926fb17e8be954bfe..848c66320064885d2860470f9cb692acaadea984 100644 (file)
@@ -462,7 +462,7 @@ Editor::idle_drop_paths (vector<ustring> paths, nframes64_t frame, double ypos)
 void
 Editor::drop_paths_part_two (const vector<ustring>& paths, nframes64_t frame, double ypos)
 {
-       AudioTimeAxisView* tv;
+       RouteTimeAxisView* tv;
 
        std::pair<TimeAxisView*, int> const tvp = trackview_by_y_position (ypos);
        if (tvp.first == 0) {
@@ -477,7 +477,7 @@ Editor::drop_paths_part_two (const vector<ustring>& paths, nframes64_t frame, do
                        do_embed (paths, Editing::ImportDistinctFiles, ImportAsTrack, frame);
                }
                
-       } else if ((tv = dynamic_cast<AudioTimeAxisView*> (tvp.first)) != 0) {
+       } else if ((tv = dynamic_cast<RouteTimeAxisView*> (tvp.first)) != 0) {
 
                /* check that its an audio track, not a bus */