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 <shayanpirani@gmail.com>.
(Bug#22918)
This commit is contained in:
Eli Zaretskii 2016-03-25 12:51:57 +03:00
parent 44782dea43
commit e70ee9d680

View file

@ -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)