aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-08-19 00:56:02 +0800
committerMilan Crha <mcrha@redhat.com>2011-08-19 00:56:02 +0800
commitdb58289bdf6b82ce211ae9b4accad2ad5998bb78 (patch)
treed11971e49bfae2d84d153f2e6e8d8e121c06458b
parentd0d4b84c8e877ce3eddf206474dbad781dee40ae (diff)
downloadgsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar.gz
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar.bz2
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar.lz
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar.xz
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.tar.zst
gsoc2013-evolution-db58289bdf6b82ce211ae9b4accad2ad5998bb78.zip
Invalidate region by one more pixel in width and height
-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))