[libchamplain] Remove extra condition
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Remove extra condition
- Date: Tue, 23 Mar 2010 14:41:20 +0000 (UTC)
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]