diff options
author | Federico Mena Quintero <federico@ximian.com> | 2001-04-03 13:34:27 +0800 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2001-04-03 13:34:27 +0800 |
commit | 44882da7a7193185f7b593ac3799758c5065f6e4 (patch) | |
tree | 40676c35764985badb55909b0573ff33b1d68364 /widgets/table/e-table-state.c | |
parent | c62c3c13a1901160d468f122c0124c6e51c45a78 (diff) | |
download | gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar.gz gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar.bz2 gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar.lz gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar.xz gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.tar.zst gsoc2013-evolution-44882da7a7193185f7b593ac3799758c5065f6e4.zip |
Typo fix; call e_cell_unrealize(), not e_cell_realize().
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* e-cell-popup.c (ecp_unrealize): Typo fix; call
e_cell_unrealize(), not e_cell_realize().
* e-cell-text.c (ect_event): Removed fallback "else", from "if
(edit_display)"since our planned return value is already zero and
we do need to unbuild_current_cell() instead of returning
immediately.
* e-table-state.c (etst_destroy): Free the expansions field.
* e-table.c (e_table_set_state_object): Do not ref the header
since we just created it!
svn path=/trunk/; revision=9123
Diffstat (limited to 'widgets/table/e-table-state.c')
-rw-r--r-- | widgets/table/e-table-state.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c index c5b19b42a2..63947f1516 100644 --- a/widgets/table/e-table-state.c +++ b/widgets/table/e-table-state.c @@ -31,8 +31,15 @@ etst_destroy (GtkObject *object) ETableState *etst = E_TABLE_STATE (object); gtk_object_unref (GTK_OBJECT (etst->sort_info)); - if (etst->columns) + if (etst->columns) { g_free (etst->columns); + etst->columns = NULL; + } + + if (etst->expansions) { + g_free (etst->expansions); + etst->expansions = NULL; + } GTK_OBJECT_CLASS (etst_parent_class)->destroy (object); } @@ -234,4 +241,3 @@ e_table_state_duplicate (ETableState *state) return new_state; } - |