From e70ee9d6804510ac1b1929df92fa5b6cd897e7e4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 25 Mar 2016 12:51:57 +0300 Subject: [PATCH] Fix scrolling upwards with 'xwidget-webkit-browse-url' * src/xwidget.c (Fxwidget_set_adjustment): Use CHECK_NUMBER instead of CHECK_NATNUM. Suggested by Shayan Pirani . (Bug#22918) --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwidget.c b/src/xwidget.c index d438d879098..54b8004fec8 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -767,7 +767,7 @@ VALUE is the amount to scroll, either relatively or absolutely. */) Lisp_Object value) { CHECK_XWIDGET (xwidget); - CHECK_NATNUM (value); + CHECK_NUMBER (value); struct xwidget *xw = XXWIDGET (xwidget); GtkAdjustment *adjustment = ((EQ (Qhorizontal, axis) -- 2.39.5