diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-03-25 12:51:57 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-03-25 12:51:57 +0300 |
commit | e70ee9d6804510ac1b1929df92fa5b6cd897e7e4 (patch) | |
tree | dd42472f0484af19c1f477a63dd6005538be56a8 /src/xwidget.c | |
parent | 44782dea433ce567bf69612a74b62432d68cd4b3 (diff) | |
download | emacs-e70ee9d6804510ac1b1929df92fa5b6cd897e7e4.tar.gz |
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)
Diffstat (limited to 'src/xwidget.c')
-rw-r--r-- | src/xwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |