From d9dc3541809b08e592657f14dcd690a111748fde Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 18 Apr 2001 17:53:14 +0000 Subject: Free some things that weren't getting freed. * e-table.c (et_destroy): Free some things that weren't getting freed. * e-tree.c (et_destroy): Free some things that weren't getting freed. (e_tree_set_state_object): Don't ref the return value of e_table_state_to_header. svn path=/trunk/; revision=9448 --- widgets/table/e-table.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'widgets/table/e-table.c') diff --git a/widgets/table/e-table.c b/widgets/table/e-table.c index 1d49f5c121..059d339444 100644 --- a/widgets/table/e-table.c +++ b/widgets/table/e-table.c @@ -179,6 +179,9 @@ et_destroy (GtkObject *object) if (et->header_canvas != NULL) gtk_widget_destroy (GTK_WIDGET (et->header_canvas)); + if (et->site != NULL) + e_table_drag_source_unset (et); + gtk_widget_destroy (GTK_WIDGET (et->table_canvas)); if (et->rebuild_idle_id) { -- cgit