aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-text.c')
-rw-r--r--widgets/text/e-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index fc07a6c78e..d561a10d1f 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1814,7 +1814,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable,
gtk_paint_shadow (widget->style, drawable,
GTK_STATE_NORMAL, GTK_SHADOW_IN,
NULL, widget, "entry",
- thisx - x, thisy - y, thiswidth, thisheight);
+ thisx, thisy, thiswidth, thisheight);
if (text->editing) {
/*
@@ -1826,7 +1826,7 @@ e_text_draw (GnomeCanvasItem *item, GdkDrawable *drawable,
*/
gtk_paint_focus (widget->style, drawable,
NULL, widget, "entry",
- thisx - 1, thisy - 1, thiswidth + 2, thisheight + 2);
+ thisx - 1, thisy - 1, thiswidth + 1, thisheight + 1);
}
}
}