[evince] Remove redundant code



commit ebb480a2359cf9ce88cafd7babb034d2387d849c
Author: Marek Kasik <mkasik redhat com>
Date:   Tue May 20 16:16:44 2014 +0200

    Remove redundant code
    
    The if() condition can not be satisfied.

 libview/ev-view.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 57acbf1..039e0bf 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5804,10 +5804,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


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