aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PerLine.h
diff options
context:
space:
mode:
authorColomban Wendling <ban@herbesfolles.org>2014-10-11 15:21:59 +0200
committerColomban Wendling <ban@herbesfolles.org>2014-10-11 15:21:59 +0200
commit79c82eb3c119c6080302e579d27af8417898d160 (patch)
treec02189c11d6013105a279a315ebd74623f7839e5 /src/PerLine.h
parenta8ecdec099ea9a31d9d91cc6ef22bc7deada49fe (diff)
downloadscintilla-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/PerLine.h')
0 files changed, 0 insertions, 0 deletions