From 62abc054041a592ca617ab228d61469dd7923a3f Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Sun, 29 Nov 2020 01:04:29 +0900 Subject: [PATCH] * src/pgtkterm.c (scroll_event): Shut up warnings --- src/pgtkterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pgtkterm.c b/src/pgtkterm.c index f3675b49fb7..f59bc85288e 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c @@ -6574,6 +6574,8 @@ scroll_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data) inev.ie.kind = HORIZ_WHEEL_EVENT; inev.ie.modifiers |= down_modifier; break; + case GDK_SCROLL_SMOOTH: /* shut up warning */ + break; } } else if (gdk_event_get_scroll_deltas (event, &delta_x, &delta_y)) -- 2.39.5