diff options
author | Carl Hetherington <carl@carlh.net> | 2009-01-02 00:17:55 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-01-02 00:17:55 +0000 |
commit | 042997e5ed35778c5309b6119ca1dcf8f696c3cc (patch) | |
tree | f96471702eeeb27211afe7baf53fd3d3e230fa32 /gtk2_ardour/automation_region_view.cc | |
parent | 69ed2a3c2784ff5c02b68435bcb0c3f2b80e0b4b (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/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index d8b90e6458..9efb03c9f9 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -78,7 +78,7 @@ AutomationRegionView::canvas_event(GdkEvent* ev) { if (ev->type == GDK_BUTTON_RELEASE) { - const nframes_t when = trackview.editor.pixel_to_frame((nframes_t)ev->button.x) + const nframes_t when = trackview.editor().pixel_to_frame((nframes_t)ev->button.x) - _region->position(); add_automation_event(ev, when, ev->button.y); } @@ -101,7 +101,7 @@ AutomationRegionView::add_automation_event (GdkEvent* event, nframes_t when, dou double x = 0; AutomationTimeAxisView* const view = automation_view(); - view->canvas_display->w2i (x, y); + view->canvas_display()->w2i (x, y); /* compute vertical fractional position */ |