diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 02:42:26 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-30 02:42:26 +0800 |
commit | 52fbacb68d758a5ba054f88c4f64432ab713f71e (patch) | |
tree | 104e87253a5baf41d3182b7c68db1ce4b6251521 | |
parent | d5270dae60c48d2929805def6caacd097b6c02dd (diff) | |
download | gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar.gz gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar.bz2 gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar.lz gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar.xz gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.tar.zst gsoc2013-evolution-52fbacb68d758a5ba054f88c4f64432ab713f71e.zip |
Revert my previous revert for GnomeCanvasShape.
This reverts commit 0faef9453c27a1a65ac15bfa65925056e5dd551d.
Turns out it broke ETable/ETree pretty badly.
-rw-r--r-- | 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 8219da38e1..84f4d4b20b 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)); |