aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2d2de2df2f..cafa80338c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
function that polls ldap for more search responses.
(pas_backend_ldap_search): use the async search interface and
register an idle call to poll for the responses.
+ (view_destroy): make sure to g_source_remove the idle id.
2000-04-12 Chris Toshok <toshok@helixcode.com>
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;