aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgnomecanvas/gnome-canvas-rect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-rect.c b/libgnomecanvas/gnome-canvas-rect.c
index 66d0258dca..8219da38e1 100644
--- a/libgnomecanvas/gnome-canvas-rect.c
+++ b/libgnomecanvas/gnome-canvas-rect.c
@@ -413,8 +413,8 @@ gnome_canvas_rect_draw (GnomeCanvasItem *item,
cairo_rectangle (
cr,
- rect->priv->x1,
- rect->priv->y1,
+ rect->priv->x1 - x,
+ rect->priv->y1 - y,
rect->priv->x2 - rect->priv->x1,
rect->priv->y2 - rect->priv->y1);