diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2016-03-27 18:00:08 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2016-03-27 18:00:08 +0900 |
commit | 278c8a7ef7baec2ffbfba211366ff3586a05f1e6 (patch) | |
tree | 978ec9b9ef0aa95b1f1d03b25a2a7c693794c280 /src/xwidget.c | |
parent | e5c17f46785e2eca165ccd5aa890f212c6a61ca1 (diff) | |
download | emacs-278c8a7ef7baec2ffbfba211366ff3586a05f1e6.tar.gz |
* src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
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 54b8004fec8..c24475f5312 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -774,7 +774,7 @@ VALUE is the amount to scroll, either relatively or absolutely. */) ? gtk_scrolled_window_get_hadjustment : gtk_scrolled_window_get_vadjustment) (GTK_SCROLLED_WINDOW (xw->widgetscrolledwindow_osr))); - double final_value = XFASTINT (value); + double final_value = XINT (value); if (EQ (Qt, relative)) final_value += gtk_adjustment_get_value (adjustment); gtk_adjustment_set_value (adjustment, final_value); |