From 278c8a7ef7baec2ffbfba211366ff3586a05f1e6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sun, 27 Mar 2016 18:00:08 +0900 Subject: [PATCH] * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT. --- src/xwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2