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:
parent
44782dea43
commit
e70ee9d680
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue