emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 278c8a7: * src/xwidget.c (Fxwidget_resize): Fix i


From: YAMAMOTO Mitsuharu
Subject: [Emacs-diffs] emacs-25 278c8a7: * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
Date: Sun, 27 Mar 2016 09:02:58 +0000

branch: emacs-25
commit 278c8a7ef7baec2ffbfba211366ff3586a05f1e6
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: YAMAMOTO Mitsuharu <address@hidden>

    * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of XFASTINT.
---
 src/xwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xwidget.c b/src/xwidget.c
index 54b8004..c24475f 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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]