Compensate cell border for gridline thickness
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 22 Apr 2009 09:26:46 +0000 (17:26 +0800)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 22 Apr 2009 09:26:46 +0000 (17:26 +0800)
lib/gtk-contrib/psppire-sheet.c

index b88b659e471bba93a402b4199193ab3287516be2..47c429a0555c3f277808c6dbd537ed3e5709683f 100644 (file)
@@ -3086,6 +3086,8 @@ psppire_sheet_draw_border (PsppireSheet *sheet, PsppireSheetRange new_range)
 
   rectangle_from_range (sheet, &new_range, &area);
 
+  area.width ++;
+  area.height ++;
 
   gdk_gc_set_clip_rectangle (sheet->xor_gc, &area);