From: John Darrington Date: Fri, 28 Nov 2008 00:47:10 +0000 (+0900) Subject: Removed internal_allocation member which was assigned but never used X-Git-Tag: v0.7.1~104 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=commitdiff_plain;h=f3d0973a5a35adf7219b08e20b657209af73b9d1 Removed internal_allocation member which was assigned but never used --- 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;