diff options
author | David Robillard <d@drobilla.net> | 2009-02-16 23:32:59 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-02-16 23:32:59 +0000 |
commit | 3e1eb6bcbd1bf5b9f3bfb64d8b9a5ad68c01368c (patch) | |
tree | 692ec9539da314cd42a2692231deaaeb36aa1720 /gtk2_ardour/automation_line.h | |
parent | 87c7b621035d0f3e9bbf613b54709470d6ee7ca5 (diff) |
Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index c04f343bcf..342b8ba2a0 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -56,7 +56,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin public: AutomationLine (const string& name, TimeAxisView&, ArdourCanvas::Group&, boost::shared_ptr<ARDOUR::AutomationList>, - const Evoral::TimeConverter<double, nframes_t>& converter); + const Evoral::TimeConverter<double, nframes_t>* converter = 0); virtual ~AutomationLine (); void queue_reset (); @@ -128,7 +128,7 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin void set_colors(); void modify_point_y (ControlPoint&, double); - + protected: string _name; |