diff options
| author | Colomban Wendling <ban@herbesfolles.org> | 2015-06-02 14:45:22 +0200 |
|---|---|---|
| committer | Colomban Wendling <ban@herbesfolles.org> | 2015-06-02 14:45:22 +0200 |
| commit | 0070aef502f7ecd0935b768e96d359db829dc7bc (patch) | |
| tree | 40ffee5624e3b53f3855ca5368e3c70cb6b10c25 /gtk/ScintillaGTK.cxx | |
| parent | 2a357880621606722259d322a118b2ad378da366 (diff) | |
| download | scintilla-mirror-0070aef502f7ecd0935b768e96d359db829dc7bc.tar.gz | |
GTK: Fix runtime completion popup warning
GtkScrolledWindow in GTK 3.16 might have a minimum and natural height
of 0 if GTK_OVERLAY_SCROLLING is enabled (which is the default), so we
need to fix our overridden minimal height to never be greater than the
natural height.
Do that by only changing the minimal height if it is greater than what
we want.
I don't know why we didn't use to set 0 here, but it might be that a
height of 0 caused problems on older GTK versions, so keep 1 to be sure.
Diffstat (limited to 'gtk/ScintillaGTK.cxx')
0 files changed, 0 insertions, 0 deletions
