aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-19 00:56:02 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:08:51 +0800
commitbf8737afa1f632f64e10c671ea3a335237692879 (patch)
treedd617fe7836ada7ab9931aec20ede7580367f711 /libgnomecanvas
parent725abeddcdf732123b357dcb8b4e26b5116375d8 (diff)
downloadgsoc2013-evolution-bf8737afa1f632f64e10c671ea3a335237692879.tar.gz
gsoc2013-evolution-bf8737afa1f632f64e10c671ea3a335237692879.tar.zst
gsoc2013-evolution-bf8737afa1f632f64e10c671ea3a335237692879.zip
Invalidate region by one more pixel in width and height
Diffstat (limited to 'libgnomecanvas')
-rw-r--r--libgnomecanvas/gnome-canvas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index cca3df0e56..8e0cd2d921 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -3127,8 +3127,8 @@ gnome_canvas_request_redraw (GnomeCanvas *canvas, gint x1, gint y1, gint x2, gin
area.x = x1;
area.y = y1;
- area.width = x2 - x1;
- area.height = y2 - y1;
+ area.width = x2 - x1 + 1;
+ area.height = y2 - y1 + 1;
get_visible_rect (canvas, &clip);
if (!gdk_rectangle_intersect (&area, &clip, &area))