aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorChris Toshok <toshok@src.gnome.org>2000-04-13 15:24:32 +0800
committerChris Toshok <toshok@src.gnome.org>2000-04-13 15:24:32 +0800
commitbb53ed6a7c9315f74330cb473636fb8a751695c0 (patch)
treeb7a0f2d873bf6d9ee8c362dd6baa1866dc0d01d1 /addressbook/backend
parent03de91fc551154b1db685c19faa4c051278d17e1 (diff)
downloadgsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar.gz
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar.bz2
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar.lz
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar.xz
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.tar.zst
gsoc2013-evolution-bb53ed6a7c9315f74330cb473636fb8a751695c0.zip
make sure to g_source_remove the idle id.
* addressbook/backend/pas/pas-backend-ldap.c (view_destroy): make sure to g_source_remove the idle id. svn path=/trunk/; revision=2415
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index db0f7b5124..3f36f6f3a5 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -108,6 +108,8 @@ view_destroy(GtkObject *object, gpointer data)
if (view->book_view == PAS_BOOK_VIEW(object)) {
g_free (view->search);
g_free (view);
+ if (view->search_idle != 0)
+ g_source_remove(view->search_idle);
bl->priv->book_views = g_list_remove_link(bl->priv->book_views, list);
g_list_free_1(list);
break;