From: John Darrington Date: Wed, 22 Apr 2009 09:26:46 +0000 (+0800) Subject: Compensate cell border for gridline thickness X-Git-Tag: v0.7.3~141 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=9b0d0bed9b0f412adebe9a8a97ef1f8f619dbd16 Compensate cell border for gridline thickness --- diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index b88b659e..47c429a0 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -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);