Fixed a crashing bug when you close an ETable.
2000-03-19 Christopher James Lahey <clahey@helixcode.com> * e-table-header.c: Fixed a crashing bug when you close an ETable. svn path=/trunk/; revision=2120
This commit is contained in:
committed by
Chris Lahey
parent
67bf862108
commit
575993a082
@ -1,3 +1,8 @@
|
||||
2000-03-19 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* e-table-header.c: Fixed a crashing bug when you close an
|
||||
ETable.
|
||||
|
||||
2000-03-13 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* e-cell-text.c: Fixed a crashing bug when you cancel an edit.
|
||||
|
||||
@ -265,7 +265,7 @@ eth_do_remove (ETableHeader *eth, int idx, gboolean do_unref)
|
||||
gtk_object_unref (GTK_OBJECT (eth->columns [idx]));
|
||||
|
||||
memmove (ð->columns [idx], ð->columns [idx+1],
|
||||
sizeof (ETableCol *) * eth->col_count - idx);
|
||||
sizeof (ETableCol *) * (eth->col_count - idx - 1));
|
||||
eth->col_count--;
|
||||
}
|
||||
|
||||
|
||||
@ -265,7 +265,7 @@ eth_do_remove (ETableHeader *eth, int idx, gboolean do_unref)
|
||||
gtk_object_unref (GTK_OBJECT (eth->columns [idx]));
|
||||
|
||||
memmove (ð->columns [idx], ð->columns [idx+1],
|
||||
sizeof (ETableCol *) * eth->col_count - idx);
|
||||
sizeof (ETableCol *) * (eth->col_count - idx - 1));
|
||||
eth->col_count--;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user