mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-12 00:36:35 -04:00
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
|
|
@ -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…
Reference in a new issue