From d5ae7c6cf09e4731e48b819b34f9db0acaa2b532 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 28 Jul 2000 21:33:25 +0000 Subject: Remove the idle handler before destroying the data it operates on. * e-table-header.c (eth_destroy): Remove the idle handler before destroying the data it operates on. svn path=/trunk/; revision=4407 --- widgets/table/e-table-header.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widgets/table') diff --git a/widgets/table/e-table-header.c b/widgets/table/e-table-header.c index f95797e5c4..fddda13da8 100644 --- a/widgets/table/e-table-header.c +++ b/widgets/table/e-table-header.c @@ -113,6 +113,8 @@ eth_destroy (GtkObject *object) gtk_object_unref(GTK_OBJECT(eth->sort_info)); } + if (eth->idle) + g_source_remove(eth->idle); g_slist_foreach(eth->change_queue, (GFunc) g_free, NULL); g_slist_free(eth->change_queue); -- cgit