app: need to actually set the extents of the pen, not only calculate them

This commit is contained in:
Michael Natterer 2010-10-03 02:31:54 +02:00
parent f3450431a3
commit 0b4bb51750
1 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,8 @@ gimp_canvas_pen_get_extents (GimpCanvasItem *item,
rectangle.y -= ceil (private->width / 2.0);
rectangle.width += private->width + 1;
rectangle.height += private->width + 1;
gdk_region_union_with_rect (region, &rectangle);
}
return region;