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/audio_time_axis.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/audio_time_axis.cc')
-rw-r--r-- | gtk2_ardour/audio_time_axis.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc index 2c03a451d8..9bc12f6711 100644 --- a/gtk2_ardour/audio_time_axis.cc +++ b/gtk2_ardour/audio_time_axis.cc @@ -119,7 +119,7 @@ AudioTimeAxisView::AudioTimeAxisView (PublicEditor& ed, Session& sess, boost::sh /* ask for notifications of any new RegionViews */ _view->RegionViewAdded.connect (mem_fun(*this, &AudioTimeAxisView::region_view_added)); - if (!editor.have_idled()) { + if (!_editor.have_idled()) { /* first idle will do what we need */ } else { first_idle (); @@ -187,7 +187,7 @@ AudioTimeAxisView::append_extra_display_menu_items () waveform_items.push_back (CheckMenuElem (_("Show waveforms"), mem_fun(*this, &AudioTimeAxisView::toggle_waveforms))); waveform_item = static_cast<CheckMenuItem *> (&waveform_items.back()); ignore_toggle = true; - waveform_item->set_active (editor.show_waveforms()); + waveform_item->set_active (_editor.show_waveforms()); ignore_toggle = false; waveform_items.push_back (SeparatorElem()); @@ -334,7 +334,7 @@ AudioTimeAxisView::create_automation_child (const Evoral::Parameter& param, bool boost::shared_ptr<AutomationTimeAxisView> gain_track(new AutomationTimeAxisView (_session, _route, _route, c, - editor, + _editor, *this, false, parent_canvas, @@ -382,7 +382,7 @@ AudioTimeAxisView::ensure_pan_views (bool show) boost::shared_ptr<AutomationTimeAxisView> pan_track ( new AutomationTimeAxisView (_session, _route, _route, pan_control, - editor, + _editor, *this, false, parent_canvas, |