mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3022 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f112a66534
commit
cc40000313
@ -1953,19 +1953,6 @@ gnucash_sheet_resize (GnucashSheet *sheet)
|
||||
|
||||
g_table_resize (sheet->blocks, sheet->table->num_virt_rows, 1);
|
||||
|
||||
/* This assumes that earlier blocks are unchanged. */
|
||||
if (diff_rows > 0) {
|
||||
for (i = 0; i < diff_rows; i++) {
|
||||
SheetBlock *block;
|
||||
|
||||
vcell_loc.virt_row = num_virt_rows + i;
|
||||
|
||||
block = gnucash_sheet_get_block (sheet, vcell_loc);
|
||||
|
||||
block->vcell_loc = vcell_loc;
|
||||
}
|
||||
}
|
||||
|
||||
sheet->num_virt_rows = sheet->table->num_virt_rows;
|
||||
gnucash_sheet_set_scroll_region (sheet);
|
||||
}
|
||||
|
@ -64,9 +64,6 @@ typedef struct _SheetBlockStyle SheetBlockStyle;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* The virtual location in the table of this block */
|
||||
VirtualCellLocation vcell_loc;
|
||||
|
||||
/* The style for this block */
|
||||
SheetBlockStyle *style;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user