From f3d0973a5a35adf7219b08e20b657209af73b9d1 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Fri, 28 Nov 2008 09:47:10 +0900 Subject: [PATCH] Removed internal_allocation member which was assigned but never used --- lib/gtksheet/gtksheet.c | 8 -------- lib/gtksheet/gtksheet.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/lib/gtksheet/gtksheet.c b/lib/gtksheet/gtksheet.c index e3a145f6..ab64fe24 100644 --- a/lib/gtksheet/gtksheet.c +++ b/lib/gtksheet/gtksheet.c @@ -4347,14 +4347,6 @@ gtk_sheet_size_allocate (GtkWidget *widget, allocation->width - 2 * border_width, allocation->height - 2 * border_width); - /* use internal allocation structure for all the math - * because it's easier than always subtracting the container - * border width */ - sheet->internal_allocation.x = 0; - sheet->internal_allocation.y = 0; - sheet->internal_allocation.width = allocation->width - 2 * border_width; - sheet->internal_allocation.height = allocation->height - 2 * border_width; - sheet_allocation.x = 0; sheet_allocation.y = 0; sheet_allocation.width = allocation->width - 2 * border_width; diff --git a/lib/gtksheet/gtksheet.h b/lib/gtksheet/gtksheet.h index bdb7ea32..3d1e07df 100644 --- a/lib/gtksheet/gtksheet.h +++ b/lib/gtksheet/gtksheet.h @@ -102,10 +102,6 @@ struct _GtkSheet GdkColor color[n_COLORS]; gboolean show_grid; - /* allocation rectangle after the container_border_width - and the width of the shadow border */ - GdkRectangle internal_allocation; - gint16 column_requisition; gint16 row_requisition; -- 2.30.2