1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Fix a compile warning when building with GTK 1.

gtkwin_deny_term_resize() is unused in a GTK1 build, triggering an
'unused static function' compiler warning.
This commit is contained in:
Simon Tatham 2024-11-28 18:31:43 +00:00
parent 8805cf3d9a
commit 948a4c8e23

View File

@ -2546,13 +2546,13 @@ static void gtkwin_set_raw_mouse_mode_pointer(TermWin *tw, bool activate)
static void compute_whole_window_size(GtkFrontend *inst,
int wchars, int hchars,
int *wpix, int *hpix);
#endif
static void gtkwin_deny_term_resize(void *vctx)
{
GtkFrontend *inst = (GtkFrontend *)vctx;
drawing_area_setup_simple(inst);
}
#endif
static void gtkwin_timer(void *vctx, unsigned long now)
{