geany/scintilla
Colomban Wendling 1421a3f9c5 scintilla: 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.

Fixes #1410.
2017-02-26 20:07:33 +01:00
..
2016-12-05 14:23:34 +01:00
2016-12-05 14:23:34 +01:00
2016-12-05 14:23:34 +01:00
2016-12-31 16:28:00 +01:00
2016-12-05 14:23:34 +01:00
2016-12-31 16:28:00 +01:00

These files are from the Scintilla project, http://www.scintilla.org.

See License.txt for the Scintilla license.

We try to keep these files in sync with the official project; any
changes should be sent there first. Otherwise changes could cause
conflicts when we next update Scintilla.


Public header constants (include/*.h)
-------------------------------------
You should not add constants in header files - instead use
Scintilla.iface and HFacer.py.

Do not change the value of constants in header files as this will
break Scintilla's ABI.