diff --git a/gtk2_ardour/audio_region_view.cc b/gtk2_ardour/audio_region_view.cc index 7c62f2990d..77c969dc20 100644 --- a/gtk2_ardour/audio_region_view.cc +++ b/gtk2_ardour/audio_region_view.cc @@ -1562,7 +1562,7 @@ AudioRegionView::add_gain_point_event (ArdourCanvas::Item *item, GdkEvent *ev, b trackview.editor().begin_reversible_command (_("add gain control point")); - _fx_line->enable_autoation (); + _fx_line->enable_automation (); trackview.session()->add_command (new MementoCommand(*_fx_line->the_list(), &before, &after)); diff --git a/gtk2_ardour/region_fx_line.cc b/gtk2_ardour/region_fx_line.cc index 84a8c09e14..8b86d67fb6 100644 --- a/gtk2_ardour/region_fx_line.cc +++ b/gtk2_ardour/region_fx_line.cc @@ -58,7 +58,7 @@ RegionFxLine::get_origin() const } void -RegionFxLine::enable_autoation () +RegionFxLine::enable_automation () { std::shared_ptr ac = _ac.lock (); if (ac) { @@ -69,14 +69,14 @@ RegionFxLine::enable_autoation () void RegionFxLine::end_drag (bool with_push, uint32_t final_index) { - enable_autoation (); + enable_automation (); AutomationLine::end_drag (with_push, final_index); } void RegionFxLine::end_draw_merge () { - enable_autoation (); + enable_automation (); AutomationLine::end_draw_merge (); } diff --git a/gtk2_ardour/region_fx_line.h b/gtk2_ardour/region_fx_line.h index 64ae1e9afd..84aec3f0d7 100644 --- a/gtk2_ardour/region_fx_line.h +++ b/gtk2_ardour/region_fx_line.h @@ -36,7 +36,7 @@ public: void end_drag (bool with_push, uint32_t final_index); void end_draw_merge (); - virtual void enable_autoation (); + virtual void enable_automation (); private: void init (); diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc index 2340c6f794..3a0d18776b 100644 --- a/gtk2_ardour/region_gain_line.cc +++ b/gtk2_ardour/region_gain_line.cc @@ -117,12 +117,12 @@ AudioRegionGainLine::end_drag (bool with_push, uint32_t final_index) void AudioRegionGainLine::end_draw_merge () { - enable_autoation (); + enable_automation (); RegionFxLine::end_draw_merge (); } void -AudioRegionGainLine::enable_autoation () +AudioRegionGainLine::enable_automation () { if (!arv.audio_region()->envelope_active()) { XMLNode& before = arv.audio_region()->get_state(); diff --git a/gtk2_ardour/region_gain_line.h b/gtk2_ardour/region_gain_line.h index 6f6d724040..34780ff3e5 100644 --- a/gtk2_ardour/region_gain_line.h +++ b/gtk2_ardour/region_gain_line.h @@ -46,7 +46,7 @@ public: void start_drag_multiple (std::list, float, XMLNode*); void end_drag (bool with_push, uint32_t final_index); void end_draw_merge (); - void enable_autoation (); + void enable_automation (); void remove_point (ControlPoint&); private: