aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
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)