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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user