diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-09-16 21:49:47 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-09-16 22:13:42 +0200 |
commit | afce2eee1d163d942385c7b33db4901b3c71135d (patch) | |
tree | dfe6fabd402d4aa679c2fba852fbb227d1c2869d /sc/source/ui/vba/vbafont.cxx | |
parent | bb6031fbe14b1f4b2e2ca98f97e93efe3519baa7 (diff) |
slideshow: fix mysterious crash with the gtk3 vclplug
For some reason with gtk3 events are handled a bit differently, and in
particular after the PresenterSlideShowView::Resize() sets the
mbIsForcedPaintPending = true, with gtk2 we get a
notifySlideAnimationsEnded event and then a notifyViewChanged event that
calls PresenterSlideShowView::clear() to reset the flag,
but with gtk3 the flag isn't reset and then
PresenterSlideShowView::ForceRepaint() destroys the SlideView,
while there are still events in the EventQueue with pointers to it.
Since i'm evidently too dumb to tell what of this event handling is
working correctly and what is buggy, avoid the crash by checking
that the SlideView is still alive in the event handlers.
Change-Id: Ib88e61536c21e9787cef8a436341bfbd89914f4b
Diffstat (limited to 'sc/source/ui/vba/vbafont.cxx')
0 files changed, 0 insertions, 0 deletions