diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-10 22:26:58 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-06-10 22:26:58 -0400 |
commit | 753d1ac392d8d6e7f7a805c277649dafcbdaa1b7 (patch) | |
tree | d644194a42a2ce1aacce551d4bce60126af19d59 | |
parent | 59dc0881fbad8440cfbfdb63d33943d76531cf9d (diff) |
possible fix for crashes related to vanishing waveviews (and if it doesn't fix anything, it is still more correct than it was)
-rw-r--r-- | libs/canvas/wave_view.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc index ebcae314aa..111bf73f27 100644 --- a/libs/canvas/wave_view.cc +++ b/libs/canvas/wave_view.cc @@ -95,7 +95,7 @@ WaveView::WaveView (Canvas* c, boost::shared_ptr<ARDOUR::AudioRegion> region) VisualPropertiesChanged.connect_same_thread (invalidation_connection, boost::bind (&WaveView::handle_visual_property_change, this)); ClipLevelChanged.connect_same_thread (invalidation_connection, boost::bind (&WaveView::handle_clip_level_change, this)); - ImageReady.connect (image_ready_connection, MISSING_INVALIDATOR, boost::bind (&WaveView::image_ready, this), gui_context()); + ImageReady.connect (image_ready_connection, invalidator (*this), boost::bind (&WaveView::image_ready, this), gui_context()); } WaveView::WaveView (Item* parent, boost::shared_ptr<ARDOUR::AudioRegion> region) @@ -123,7 +123,7 @@ WaveView::WaveView (Item* parent, boost::shared_ptr<ARDOUR::AudioRegion> region) VisualPropertiesChanged.connect_same_thread (invalidation_connection, boost::bind (&WaveView::handle_visual_property_change, this)); ClipLevelChanged.connect_same_thread (invalidation_connection, boost::bind (&WaveView::handle_clip_level_change, this)); - ImageReady.connect (image_ready_connection, MISSING_INVALIDATOR, boost::bind (&WaveView::image_ready, this), gui_context()); + ImageReady.connect (image_ready_connection, invalidator (*this), boost::bind (&WaveView::image_ready, this), gui_context()); } WaveView::~WaveView () |