diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-06-23 15:04:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-06-23 15:04:01 +0000 |
commit | b52004a77770fa8d451c2fe6e2c44d43c68cde67 (patch) | |
tree | 9d1a5a0e06c97331146332d25eda4930b85c62a7 /gtk2_ardour/region_view.cc | |
parent | 422607acfe28dc10fd8b188d12582a8a8cb916b9 (diff) |
various minor fixes for crashes reported by nowhiskey
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3486 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.cc')
-rw-r--r-- | gtk2_ardour/region_view.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index a88f821693..6240a7062c 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -87,7 +87,6 @@ RegionView::RegionView (const RegionView& other) /* derived concrete type will call init () */ _region = other._region; - editor = other.editor; current_visible_sync_position = other.current_visible_sync_position; valid = false; _pixel_width = other._pixel_width; @@ -104,7 +103,6 @@ RegionView::RegionView (const RegionView& other, boost::shared_ptr<Region> other /* derived concrete type will call init () */ _region = other_region; - editor = other.editor; current_visible_sync_position = other.current_visible_sync_position; valid = false; _pixel_width = other._pixel_width; @@ -135,6 +133,7 @@ RegionView::RegionView (ArdourCanvas::Group* parent, void RegionView::init (Gdk::Color& basic_color, bool wfd) { + editor = 0; valid = true; in_destructor = false; _height = 0; |