From 61b728bdcc706c3a7a49d312370acd2d17bf9ce6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 19 Feb 2022 16:41:51 -0700 Subject: [PATCH] more avoidance of double initialization --- gtk2_ardour/region_view.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/region_view.cc b/gtk2_ardour/region_view.cc index 18f750bb2a..55dc09c17b 100644 --- a/gtk2_ardour/region_view.cc +++ b/gtk2_ardour/region_view.cc @@ -107,6 +107,8 @@ RegionView::RegionView (ArdourCanvas::Container* parent, RegionView::RegionView (const RegionView& other) : sigc::trackable(other) , TimeAxisViewItem (other) + , sync_mark(0) + , sync_line(0) , _silence_text (0) , _xrun_markers_visible (false) , _cue_markers_visible (false) @@ -186,8 +188,6 @@ RegionView::init (bool wfd) valid = true; in_destructor = false; wait_for_data = wfd; - sync_mark = 0; - sync_line = 0; if (name_highlight) { name_highlight->set_data ("regionview", this);