1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

Fix build failure on GTK 2.

In the TermWin revamp, I forgot to make sure I'd changed all the ifdef
branches for different major versions of GTK.
This commit is contained in:
Simon Tatham 2018-10-26 23:05:53 +01:00
parent 64f8f68a34
commit 6750eb73ab

View File

@ -2635,7 +2635,7 @@ static void gtkwin_request_resize(TermWin *tw, int w, int h)
* bogus size request which guarantees to be bigger than the
* current size of the drawing area.
*/
get_window_pixels(inst, &large_x, &large_y);
win_get_pixels(&inst->termwin, &large_x, &large_y);
large_x += 32;
large_y += 32;