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:
Christopher James Lahey
2000-03-20 00:36:30 +00:00
committed by Chris Lahey
parent 67bf862108
commit 575993a082
3 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -265,7 +265,7 @@ eth_do_remove (ETableHeader *eth, int idx, gboolean do_unref)
gtk_object_unref (GTK_OBJECT (eth->columns [idx]));
memmove (&eth->columns [idx], &eth->columns [idx+1],
sizeof (ETableCol *) * eth->col_count - idx);
sizeof (ETableCol *) * (eth->col_count - idx - 1));
eth->col_count--;
}

View File

@ -265,7 +265,7 @@ eth_do_remove (ETableHeader *eth, int idx, gboolean do_unref)
gtk_object_unref (GTK_OBJECT (eth->columns [idx]));
memmove (&eth->columns [idx], &eth->columns [idx+1],
sizeof (ETableCol *) * eth->col_count - idx);
sizeof (ETableCol *) * (eth->col_count - idx - 1));
eth->col_count--;
}