Removed internal_allocation member which was assigned but never used
[pspp-builds.git] / lib / gtksheet / gtksheet.c
index e3a145f66b3f8998b341dedd3c0e6a4346f4e812..ab64fe248d0602143109d1862503501e65543574 100644 (file)
@@ -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;