summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2013-09-03 13:35:47 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2013-09-03 13:35:47 +0400
commitd1fc6c21a839c98b0285e7af2537f114b13aa835 (patch)
treeaba3d3e9f3f9e68e031a7c8c827aed878908f7e9 /src/gtkutil.c
parent0ce9f6de648119922179ac9faaecc9445a5eade6 (diff)
* xterm.h (struct scroll_bar): Prefer int to Lisp_Object
for 'dragging' member. * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): * xterm.c (xt_action_hook, xm_scroll_callback, xg_scroll_callback) (xg_end_scroll_callback, xaw_jump_callback, xaw_scroll_callback) (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) (x_scroll_bar_handle_click, x_scroll_bar_note_movement) (x_scroll_bar_report_motion): Related users changed.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index a1d217e06e..6228f2150f 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -3783,7 +3783,7 @@ xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar,
struct frame *f = XFRAME (WINDOW_FRAME (XWINDOW (bar->window)));
- if (wscroll && NILP (bar->dragging))
+ if (wscroll && bar->dragging == -1)
{
GtkAdjustment *adj;
gdouble shown;