From 6750eb73ab645fbd64866b6905cc3f563177a3b7 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 26 Oct 2018 23:05:53 +0100 Subject: [PATCH] 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. --- unix/gtkwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/gtkwin.c b/unix/gtkwin.c index 0868d2fd..d56c1ee5 100644 --- a/unix/gtkwin.c +++ b/unix/gtkwin.c @@ -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;