From: Eli Zaretskii Date: Fri, 25 Mar 2016 09:51:57 +0000 (+0300) Subject: Fix scrolling upwards with 'xwidget-webkit-browse-url' X-Git-Tag: emacs-25.0.93~89^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e70ee9d6804510ac1b1929df92fa5b6cd897e7e4;p=emacs.git 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) --- 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)