Fix insane formatting (how did this even happen? copy paste from an email diff or...
[ardour.git] / gtk2_ardour / crossfade_view.cc
index 68dc2ecbe04376524c992e2df2c7dc0fe78a5433..c4a74b8a189cca84a958d1befc80799051324830 100644 (file)
@@ -80,7 +80,7 @@ CrossfadeView::CrossfadeView (ArdourCanvas::Group *parent,
        vestigial_frame->hide();
        show_vestigial = false;
        
-       group->signal_event().connect (bind (mem_fun (tv.editor, &PublicEditor::canvas_crossfade_view_event), group, this));
+       group->signal_event().connect (bind (mem_fun (tv.editor(), &PublicEditor::canvas_crossfade_view_event), group, this));
        
        crossfade_changed (Change (~0));
 
@@ -174,7 +174,7 @@ CrossfadeView::redraw_curves ()
                return;
        }
 
-       npoints = get_time_axis_view().editor.frame_to_pixel (crossfade->length());
+       npoints = get_time_axis_view().editor().frame_to_pixel (crossfade->length());
        // npoints = std::min (gdk_screen_width(), npoints);
 
        if (!_visible || !crossfade->active() || npoints < 3) {