aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-07-24 04:34:03 +0800
committerChris Lahey <clahey@src.gnome.org>2000-07-24 04:34:03 +0800
commit6095a951335a4edc3d9ed8f9e31913f8413decfa (patch)
tree3738aa0f2f9b4263d56e158480195c224ef38eee /addressbook/backend
parenta8a443d6d467916af929c51e0f991b423bc8c07f (diff)
downloadgsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar.gz
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar.bz2
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar.lz
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar.xz
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.tar.zst
gsoc2013-evolution-6095a951335a4edc3d9ed8f9e31913f8413decfa.zip
Remove the idle handler when we're destroyed.
2000-07-23 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-book-view-listener.c: Remove the idle handler when we're destroyed. * printing/e-contact-print.c: Fixed the spacing on the card header. svn path=/trunk/; revision=4287
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-book-view-listener.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-book-view-listener.c b/addressbook/backend/ebook/e-book-view-listener.c
index 71f942798a..be871d65d7 100644
--- a/addressbook/backend/ebook/e-book-view-listener.c
+++ b/addressbook/backend/ebook/e-book-view-listener.c
@@ -283,6 +283,9 @@ e_book_view_listener_destroy (GtkObject *object)
EBookViewListener *listener = E_BOOK_VIEW_LISTENER (object);
GList *l;
+ if (listener->priv->idle_id)
+ g_source_remove(listener->priv->idle_id);
+
for (l = listener->priv->response_queue; l != NULL; l = l->next) {
EBookViewListenerResponse *resp = l->data;
if (resp->id)