aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-29 05:33:25 +0800
committerDan Winship <danw@src.gnome.org>2000-07-29 05:33:25 +0800
commitd5ae7c6cf09e4731e48b819b34f9db0acaa2b532 (patch)
tree1f24f06e92cd8e0645a09368465745f531c6ded9 /widgets/e-table
parent42ea927055d4462b9f396092e2791a4db34ce6ec (diff)
downloadgsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.gz
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.bz2
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.lz
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.xz
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.zst
gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.zip
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
Diffstat (limited to 'widgets/e-table')
-rw-r--r--widgets/e-table/ChangeLog5
-rw-r--r--widgets/e-table/e-table-header.c2
2 files changed, 7 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);