[evolution] Revert my previous revert for GnomeCanvasShape.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Revert my previous revert for GnomeCanvasShape.
- Date: Fri, 29 Oct 2010 18:44:28 +0000 (UTC)
commit 52fbacb68d758a5ba054f88c4f64432ab713f71e
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Oct 29 14:42:26 2010 -0400
Revert my previous revert for GnomeCanvasShape.
This reverts commit 0faef9453c27a1a65ac15bfa65925056e5dd551d.
Turns out it broke ETable/ETree pretty badly.
libgnomecanvas/gnome-canvas-rect.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/libgnomecanvas/gnome-canvas-rect.c b/libgnomecanvas/gnome-canvas-rect.c
index 8219da3..84f4d4b 100644
--- a/libgnomecanvas/gnome-canvas-rect.c
+++ b/libgnomecanvas/gnome-canvas-rect.c
@@ -377,7 +377,6 @@ gnome_canvas_rect_update (GnomeCanvasItem *item,
{
GnomeCanvasRect *rect;
double x1, x2, y1, y2;
- cairo_matrix_t matrix;
rect = GNOME_CANVAS_RECT (item);
@@ -385,9 +384,7 @@ gnome_canvas_rect_update (GnomeCanvasItem *item,
update (item, i2c, flags);
gnome_canvas_rect_bounds (item, &x1, &y1, &x2, &y2);
- gnome_canvas_item_i2w_matrix (item, &matrix);
-
- gnome_canvas_matrix_transform_rect (&matrix, &x1, &y1, &x2, &y2);
+ gnome_canvas_matrix_transform_rect (i2c, &x1, &y1, &x2, &y2);
gnome_canvas_update_bbox (
item, floor (x1), floor (y1), ceil (x2), ceil (y2));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]