[evolution/foocanvas] Fixup e_text: In update_bbox, we need to set the x1 / y1 coordinates. This will fixup foo_canvas_mov
- From: Henning Habighorst <hhabig src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/foocanvas] Fixup e_text: In update_bbox, we need to set the x1 / y1 coordinates. This will fixup foo_canvas_mov
- Date: Tue, 11 May 2010 17:30:54 +0000 (UTC)
commit 561fae71590f2207ae700ff1eb14d01852d98c9b
Author: H.Habighorst <h habighorst googlemail com>
Date: Tue May 11 18:11:37 2010 +0200
Fixup e_text: In update_bbox, we need to set the x1 / y1 coordinates. This will fixup foo_canvas_move.
widgets/text/e-text.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 6bb20e7..2af6a28 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1776,8 +1776,8 @@ e_text_bounds (FooCanvasItem *item, gdouble *x1, gdouble *y1, gdouble *x2, gdoub
text = E_TEXT (item);
- *x1 = 0;
- *y1 = 0;
+ *x1 = text->x;
+ *y1 = text->y;
width = text->width;
height = text->height;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]