diff options
Diffstat (limited to 'libgnomecanvas/gnome-canvas-util.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-util.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas-util.c b/libgnomecanvas/gnome-canvas-util.c index 00e76daae9..ac5250ca13 100644 --- a/libgnomecanvas/gnome-canvas-util.c +++ b/libgnomecanvas/gnome-canvas-util.c @@ -80,12 +80,16 @@ gnome_canvas_update_bbox (GnomeCanvasItem *item, gint x2, gint y2) { - gnome_canvas_request_redraw (item->canvas, item->x1, item->y1, item->x2, item->y2); + gnome_canvas_request_redraw ( + item->canvas, item->x1, item->y1, item->x2, item->y2); + item->x1 = x1; item->y1 = y1; item->x2 = x2; item->y2 = y2; - gnome_canvas_request_redraw (item->canvas, item->x1, item->y1, item->x2, item->y2); + + gnome_canvas_request_redraw ( + item->canvas, item->x1, item->y1, item->x2, item->y2); } /** |