diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-24 18:31:00 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-24 18:31:00 -0400 |
commit | 737433c446b6b32cd2f6e20dfae568c1188aca44 (patch) | |
tree | 13a2e5b909c273c1a1fee4d71a50642345e367ac /libs/canvas/item.cc | |
parent | 6f664c1f67f9a62d44b3ee8c3cae8c341e0731d3 (diff) |
tweaks to improve enter/leave event handling - fixes at least some crashes caused by this stuff
Diffstat (limited to 'libs/canvas/item.cc')
-rw-r--r-- | libs/canvas/item.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/canvas/item.cc b/libs/canvas/item.cc index d316a6c05d..569d03f81f 100644 --- a/libs/canvas/item.cc +++ b/libs/canvas/item.cc @@ -70,13 +70,13 @@ Item::init () Item::~Item () { - if (_canvas) { - _canvas->item_going_away (this, _bounding_box); - } - if (_parent) { _parent->remove (this); } + + if (_canvas) { + _canvas->item_going_away (this, _bounding_box); + } } ArdourCanvas::Rect |