summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-07-28 15:05:45 +0300
committermonsta <[email protected]>2016-07-28 15:05:45 +0300
commitaba1bb9eb39c38d7b7159943e8d16d4fb169824c (patch)
tree4f68e8e14166b70e3472447e688eab7d9734d8e4 /libview
parent5c2670ca99f29b41e047048db05456d3d3487c89 (diff)
downloadatril-aba1bb9eb39c38d7b7159943e8d16d4fb169824c.tar.bz2
atril-aba1bb9eb39c38d7b7159943e8d16d4fb169824c.tar.xz
libview: remove useless always-false condition
from https://git.gnome.org/browse/evince/commit/?id=ebb480a2359cf9ce88cafd7babb034d2387d849c
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c4
1 files changed, 0 insertions, 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