From: Yuuki Harano Date: Sat, 28 Nov 2020 16:04:29 +0000 (+0900) Subject: * src/pgtkterm.c (scroll_event): Shut up warnings X-Git-Tag: emacs-29.0.90~3755 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=62abc054041a592ca617ab228d61469dd7923a3f;p=emacs.git * src/pgtkterm.c (scroll_event): Shut up warnings --- 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))