diff options
| author | Colomban Wendling <ban@herbesfolles.org> | 2014-10-11 15:21:59 +0200 |
|---|---|---|
| committer | Colomban Wendling <ban@herbesfolles.org> | 2014-10-11 15:21:59 +0200 |
| commit | b74ecec127137116ed3ed2bcb8b40268abc438b4 (patch) | |
| tree | 446481c4036a82d0f651c4017e8958e535497b54 /doc/ScintillaHistory.html | |
| parent | 3d6edf1cc0f341f846abd17f2d8d3fd5e1f59dd3 (diff) | |
| download | scintilla-mirror-b74ecec127137116ed3ed2bcb8b40268abc438b4.tar.gz | |
GTK: Don't create widgets in the ::realize handler
Creating a widget may lead to a ::hierarchy-changed signal to be
emitted, which itself may lead a tooltip window to be unrealized.
This is problematic because it can lead to the ::unrealize handler to
be called during the ::realize handler, breaking most of the logic
there assuming the widget was properly realized.
This fixes adding a Scintilla widget inside a GTK2 tooltip. GTK3
didn't seem to be affected.
Also properly destroy the preedit popup window with the widget.
Diffstat (limited to 'doc/ScintillaHistory.html')
0 files changed, 0 insertions, 0 deletions
