• Michael Stahl's avatar
    slideshow: fix mysterious crash with the gtk3 vclplug · afce2eee
    Michael Stahl yazdı
    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
    afce2eee
Adı
Son kayıt (commit)
Son güncelleme
..
inc/pch Loading commit data...
opengl Loading commit data...
qa Loading commit data...
source Loading commit data...
test Loading commit data...
util Loading commit data...
CppunitTest_slideshow.mk Loading commit data...
Executable_demoshow.mk Loading commit data...
Library_OGLTrans.mk Loading commit data...
Library_slideshow.mk Loading commit data...
Makefile Loading commit data...
Module_slideshow.mk Loading commit data...
Package_opengl.mk Loading commit data...
README Loading commit data...
manifest.txt Loading commit data...