From: John Darrington Date: Tue, 28 Jul 2009 11:02:06 +0000 (+0200) Subject: Remove commented code X-Git-Tag: build37~20 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae48c4384e74844a6ef9a13ecbecda106fe5b8e4;p=pspp-builds.git Remove commented code --- diff --git a/lib/gtk-contrib/psppire-sheet.c b/lib/gtk-contrib/psppire-sheet.c index 6703f0b6..6d1c0af9 100644 --- a/lib/gtk-contrib/psppire-sheet.c +++ b/lib/gtk-contrib/psppire-sheet.c @@ -2777,30 +2777,15 @@ psppire_sheet_expose (GtkWidget *widget, GdkEventExpose *event) if (sheet->select_status != PSPPIRE_SHEET_NORMAL) { -#if 0 - if (psppire_sheet_range_isvisible (sheet, &sheet->range)) - psppire_sheet_range_draw (sheet, &sheet->range); - - if (PSPPIRE_SHEET_IN_RESIZE (sheet) || PSPPIRE_SHEET_IN_DRAG (sheet)) - psppire_sheet_range_draw (sheet, &sheet->drag_range); -#endif - - { - GdkRectangle area; + GdkRectangle area; - rectangle_from_range (sheet, &sheet->range, &area); + rectangle_from_range (sheet, &sheet->range, &area); - gdk_draw_rectangle (sheet->sheet_window, - sheet->xor_gc, - TRUE, - area.x + 1, area.y + 1, - area.width, area.height); - } - -#if 0 - if (PSPPIRE_SHEET_IN_RESIZE (sheet) || PSPPIRE_SHEET_IN_DRAG (sheet)) - draw_xor_rectangle (sheet, sheet->drag_range); -#endif + gdk_draw_rectangle (sheet->sheet_window, + sheet->xor_gc, + TRUE, + area.x + 1, area.y + 1, + area.width, area.height); }