aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table-header.c2
-rw-r--r--widgets/table/e-table-header.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/widgets/e-table/ChangeLog b/widgets/e-table/ChangeLog
index d9c0699d83..a206b42c98 100644
--- a/widgets/e-table/ChangeLog
+++ b/widgets/e-table/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-28 Dan Winship <danw@helixcode.com>
+
+ * e-table-header.c (eth_destroy): Remove the idle handler before
+ destroying the data it operates on.
+
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c: Fixed up the table behavior so that it's not
diff --git a/widgets/e-table/e-table-header.c b/widgets/e-table/e-table-header.c
index f95797e5c4..fddda13da8 100644
--- a/widgets/e-table/e-table-header.c
+++ b/widgets/e-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);
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);