diff options
-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); } |