aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-09 11:51:53 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:49:59 +0800
commit6798b256cd3a74c5bbd76071d1073b628d740ca9 (patch)
tree2ab1763b870a3fcec30f324c8aaa417ed884ad54 /widgets
parentebd534357ebcba5fef130d81b3f23c00c418a444 (diff)
downloadgsoc2013-evolution-6798b256cd3a74c5bbd76071d1073b628d740ca9.tar.gz
gsoc2013-evolution-6798b256cd3a74c5bbd76071d1073b628d740ca9.tar.zst
gsoc2013-evolution-6798b256cd3a74c5bbd76071d1073b628d740ca9.zip
gnome-canvas: Remove close_enough member
It's never set, so just replace it with its default value 0 everywhere.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/text/e-reflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c
index cc1c64ebfa..3e062f0f93 100644
--- a/widgets/text/e-reflow.c
+++ b/widgets/text/e-reflow.c
@@ -1358,7 +1358,7 @@ e_reflow_point (GnomeCanvasItem *item,
if (GNOME_CANVAS_ITEM_CLASS (e_reflow_parent_class)->point)
distance = GNOME_CANVAS_ITEM_CLASS (e_reflow_parent_class)->point (item, x, y, cx, cy, actual_item);
- if ((gint) (distance * item->canvas->pixels_per_unit + 0.5) <= item->canvas->close_enough && *actual_item)
+ if ((gint) (distance * item->canvas->pixels_per_unit + 0.5) <= 0 && *actual_item)
return distance;
*actual_item = item;