diff options
author | Dan Winship <danw@src.gnome.org> | 2000-07-29 05:33:25 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-07-29 05:33:25 +0800 |
commit | d5ae7c6cf09e4731e48b819b34f9db0acaa2b532 (patch) | |
tree | 1f24f06e92cd8e0645a09368465745f531c6ded9 /widgets | |
parent | 42ea927055d4462b9f396092e2791a4db34ce6ec (diff) | |
download | gsoc2013-evolution-d5ae7c6cf09e4731e48b819b34f9db0acaa2b532.tar.gz 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')
-rw-r--r-- | widgets/e-table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/e-table/e-table-header.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-header.c | 2 |
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); |