aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UniConversion.cxx
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2017-02-26 20:18:26 +0100
committerColomban Wendling <ban@herbesfolles.org>2017-02-26 20:18:26 +0100
commitf31063c87e800351ac6416ecdb0b3f9a1b842f7f (patch)
tree1feefe3d9c828533d18f723749a3f4c74d1239b9 /src/UniConversion.cxx
parent50f3572d8f0e2a2df0a1dc3ab721ee4bdf89b4a9 (diff)
downloadscintilla-mirror-f31063c87e800351ac6416ecdb0b3f9a1b842f7f.tar.gz
Bug [#1907]. GTK: Fix crash after destroying the widget on GTK < 3.3.6
On GTK2 and GTK3 < 3.3.6 there is no GtkAccessibleClass::widget_unset() method, so we can't destroy our accessible object right away. So, to avoid accessing a destroyed widget, we need to check whether the widget still exists in the the ScintillaGTKAccessible destructor. In other methods it's not necessary because the wrapping GObject class makes sure not to forward other when the widget has been destroyed, but we still have to destroy the C++ instance no matter what, so the check has to be on this side.
Diffstat (limited to 'src/UniConversion.cxx')
0 files changed, 0 insertions, 0 deletions