From aba1bb9eb39c38d7b7159943e8d16d4fb169824c Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 28 Jul 2016 15:05:45 +0300 Subject: libview: remove useless always-false condition from https://git.gnome.org/browse/evince/commit/?id=ebb480a2359cf9ce88cafd7babb034d2387d849c --- libview/ev-view.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libview/ev-view.c b/libview/ev-view.c index e6634c15..42c51184 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -5531,10 +5531,6 @@ ev_view_autoscroll_cb (EvView *view) return FALSE; } - if (view->scroll_info.last_y > view->scroll_info.start_y && - (view->scroll_info.last_y < view->scroll_info.start_y)) - return TRUE; - /* Replace 100 with your speed of choice: The lower the faster. * Replace 3 with another speed of choice: The higher, the faster it accelerated * based on the distance of the starting point from the mouse -- cgit v1.2.1