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 | 79c82eb3c119c6080302e579d27af8417898d160 (patch) | |
tree | c02189c11d6013105a279a315ebd74623f7839e5 /src | |
parent | a8ecdec099ea9a31d9d91cc6ef22bc7deada49fe (diff) | |
download | scintilla-mirror-79c82eb3c119c6080302e579d27af8417898d160.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 'src')
0 files changed, 0 insertions, 0 deletions