aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-08 02:10:45 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-08 02:10:45 +0800
commit2043f685bae1373a3ea7b249ecc8e34990cf707c (patch)
tree5c1162672f6713d7cc3fa9c973640e3375984fcf /addressbook/backend/pas
parent8b23b4c192b118cd5c21a899c5c6009cdfe4d68a (diff)
downloadgsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar.gz
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar.bz2
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar.lz
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar.xz
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.tar.zst
gsoc2013-evolution-2043f685bae1373a3ea7b249ecc8e34990cf707c.zip
Removed some code that was notifying too many clients at the wrong times.
2000-05-07 Christopher James Lahey <clahey@helixcode.com> * backend/pas/pas-backend-file.c, backend/pas/pas-backend-ldap.c: Removed some code that was notifying too many clients at the wrong times. * gui/component/addressbook.c: Set view->book. Unreffed view->book. Unreffed the model instead of destroying it. Removed the /tmp/test.db stuff. svn path=/trunk/; revision=2876
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c12
-rw-r--r--addressbook/backend/pas/pas-backend-ldap.c12
2 files changed, 2 insertions, 22 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index 11b5abb670..2dbd27a89a 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -947,18 +947,8 @@ pas_backend_file_load_uri (PASBackend *backend,
g_free(bf->priv->uri);
bf->priv->uri = g_strdup (uri);
- } else {
- GList *l;
-
- for (l = bf->priv->clients; l; l = l->next) {
- PASBook *book;
-
- book = PAS_BOOK (l->data);
- pas_book_respond_open (book, Evolution_BookListener_OtherError);
- }
-
+ } else
return FALSE;
- }
return TRUE;
}
diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c
index 53d32d0e83..fa04be67de 100644
--- a/addressbook/backend/pas/pas-backend-ldap.c
+++ b/addressbook/backend/pas/pas-backend-ldap.c
@@ -898,18 +898,8 @@ pas_backend_ldap_load_uri (PASBackend *backend,
pas_backend_ldap_ensure_connected(bl);
return TRUE;
- } else {
- GList *l;
-
- for (l = bl->priv->clients; l; l = l->next) {
- PASBook *book;
-
- book = PAS_BOOK (l->data);
- pas_book_respond_open (book, Evolution_BookListener_OtherError);
- }
-
+ } else
return FALSE;
- }
}
/* Get_uri handler for the addressbook LDAP backend */