X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fregion_gain_line.h;h=683537ee69aea71fb2287bfbf70db9d7e7103248;hb=815ffcd567a65c259b31b41e03c56cf2fc8ad1b6;hp=1eae91bc272ced52c75b05cf5cd97dc316d0f89b;hpb=54bf06e63cee78dfa218f604d862e577d0f5754c;p=ardour.git diff --git a/gtk2_ardour/region_gain_line.h b/gtk2_ardour/region_gain_line.h index 1eae91bc27..683537ee69 100644 --- a/gtk2_ardour/region_gain_line.h +++ b/gtk2_ardour/region_gain_line.h @@ -35,14 +35,17 @@ class AudioRegionView; class AudioRegionGainLine : public AutomationLine { public: - AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Group& parent, boost::shared_ptr); + AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Container& parent, boost::shared_ptr); void start_drag_single (ControlPoint*, double, float); void end_drag (bool with_push, uint32_t final_index); void remove_point (ControlPoint&); + private: + PBD::ScopedConnection _region_changed_connection; + void region_changed (const PBD::PropertyChange& what_changed); AudioRegionView& rv; };