mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 01:18: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:
parent
8805cf3d9a
commit
948a4c8e23
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user