Fix session-open after selecting new, template, then back
[ardour.git] / gtk2_ardour / editor_cursors.cc
index 7cd897604c0f3829949968c90da23f474b9581ea..de89274fcc9f7c4372dcb0d9d161e6e75538cc0b 100644 (file)
@@ -49,7 +49,7 @@ EditorCursor::EditorCursor (Editor& ed, bool (Editor::*callbck)(GdkEvent*,Ardour
        _track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
 
        _track_canvas_item->set_x (0);
-       
+
        _current_frame = 1; /* force redraw at 0 */
 }
 
@@ -63,9 +63,9 @@ EditorCursor::EditorCursor (Editor& ed)
        _track_canvas_item->set_show_head (1, false);
        _track_canvas_item->set_y1 (ArdourCanvas::COORD_MAX);
        _track_canvas_item->set_ignore_events (true);
-       
+
        _track_canvas_item->set_x (0);
-    
+
        _current_frame = 1; /* force redraw at 0 */
 }
 
@@ -101,7 +101,7 @@ EditorCursor::hide ()
 }
 
 void
-EditorCursor::set_color (ArdourCanvas::Color color)
+EditorCursor::set_color (Gtkmm2ext::Color color)
 {
        _track_canvas_item->set_color (color);
 }