aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-29 07:26:22 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:51:39 +0800
commit71811d735e20c2fdaa0d525b0a01b993155c50ef (patch)
treec96db82f9d94e7f9ced15421e43cf6fbba9ebbe3
parent50d5ba94a6c750a38e092317b4d2e5188899fdeb (diff)
downloadgsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.gz
gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.tar.zst
gsoc2013-evolution-71811d735e20c2fdaa0d525b0a01b993155c50ef.zip
Fix matrix in gnome_canvas_shape_draw().
The path is in item coordinates, so we need an "i2c" matrix, not "c2i".
-rw-r--r--libgnomecanvas/gnome-canvas-shape.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-shape.c b/libgnomecanvas/gnome-canvas-shape.c
index 24db7033a3..d506fc8919 100644
--- a/libgnomecanvas/gnome-canvas-shape.c
+++ b/libgnomecanvas/gnome-canvas-shape.c
@@ -478,8 +478,6 @@ gnome_canvas_shape_draw (GnomeCanvasItem *item,
shape = GNOME_CANVAS_SHAPE (item);
cr = gdk_cairo_create (drawable);
gnome_canvas_item_i2c_matrix (item, &matrix);
- if (cairo_matrix_invert (&matrix))
- return;
cairo_transform (cr, &matrix);
cairo_append_path (cr, shape->priv->path);