[libchamplain] Remove extra condition



commit 0dc0f1c719be00ef69dbb5ed17636e0c4b147214
Author: JiÅ?í Techet <techet gmail com>
Date:   Sun Mar 14 17:00:21 2010 +0100

    Remove extra condition
    
    The condition below is a proper superset of the removed condition
    
    Signed-off-by: JiÅ?í Techet <techet gmail com>

 champlain/champlain-view.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index cc9fd00..0a993ee 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -1480,10 +1480,6 @@ viewport_pos_changed_cb (GObject *gobject,
   tidy_viewport_get_origin (TIDY_VIEWPORT (priv->viewport), &x, &y,
       NULL);
 
-  if (x == priv->viewport_size.x &&
-      y == priv->viewport_size.y)
-      return;
-
   if (fabs (x - priv->viewport_size.x) < 100 &&
       fabs (y - priv->viewport_size.y) < 100)
       return;



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