diff options
author | JP Rosevear <jpr@helixcode.com> | 2000-12-09 10:56:48 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2000-12-09 10:56:48 +0800 |
commit | 16b387c97c13d1e28437e70df8b90497747038ad (patch) | |
tree | eb4e1ad4fd5eb266aa12751941dcfc44077a8898 | |
parent | e68b48fb6e2c34fc0097669ba3a85b04ceb1d618 (diff) | |
download | gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar.gz gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar.bz2 gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar.lz gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar.xz gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.tar.zst gsoc2013-evolution-16b387c97c13d1e28437e70df8b90497747038ad.zip |
If there are columns allocated, free them upon a destroy.
2000-12-08 JP Rosevear <jpr@helixcode.com>
* e-table-state.c (etst_destroy): If there are columns allocated,
free them upon a destroy.
2000-12-08 JP Rosevear <jpr@helixcode.com>
* gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix"
svn path=/trunk/; revision=6884
-rw-r--r-- | widgets/misc/e-canvas.c | 3 | ||||
-rw-r--r-- | widgets/table/e-table-state.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/widgets/misc/e-canvas.c b/widgets/misc/e-canvas.c index d82f96e722..e772cd686f 100644 --- a/widgets/misc/e-canvas.c +++ b/widgets/misc/e-canvas.c @@ -124,9 +124,6 @@ e_canvas_destroy (GtkObject *object) if (canvas->idle_id) g_source_remove(canvas->idle_id); - if (canvas->ic) - gdk_ic_destroy (canvas->ic); - if ((GTK_OBJECT_CLASS (parent_class))->destroy) (*(GTK_OBJECT_CLASS (parent_class))->destroy) (object); } diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c index 36c7293267..b36bbf41c7 100644 --- a/widgets/table/e-table-state.c +++ b/widgets/table/e-table-state.c @@ -23,9 +23,10 @@ static GtkObjectClass *etst_parent_class; static void etst_destroy (GtkObject *object) { -#if 0 ETableState *etst = E_TABLE_STATE (object); -#endif + + if (etst->columns) + g_free (etst->columns); GTK_OBJECT_CLASS (etst_parent_class)->destroy (object); } |