GTK: Properly ask wText what size it wants to please GTK 3.20
commit28a99f8188724a999f74751501c1e223c2d61a7f
authorColomban Wendling <ban@herbesfolles.org>
Wed, 27 Apr 2016 14:01:17 +0000 (27 16:01 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 2 May 2016 13:19:26 +0000 (2 15:19 +0200)
tree214f55e020318d076aa2c3dc16bf4474c66d43da
parent915e8b781c22fc2e8a3a9a3bdae227c89db01296
GTK: Properly ask wText what size it wants to please GTK 3.20

It's not really of any use as we do know any size would do as wText is
ours anyway, but GTK 3.20 doesn't like allocating without querying the
preferred size beforehand, so do it.

As wText has a size_request() of 100x100, this might change how we
allocate in case we used to underallocate it, but AFAIK we don't, and
it is the real minimum size expected.

X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1825/
X-Scintilla-Commit-ID: d06e3db3e26842cd136328df17eb6f864b3adc02
scintilla/gtk/ScintillaGTK.cxx