From 44ca65de6b2dd18b97d36eb701080ae0dba15a38 Mon Sep 17 00:00:00 2001 From: Sushma Rai Date: Mon, 25 Jul 2005 10:33:02 +0000 Subject: [PATCH] Freezing the file cache for GroupWise system address book at the proper place. --- addressbook/ChangeLog | 6 ++++++ addressbook/backends/groupwise/e-book-backend-groupwise.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index fed8c48..cceeb29 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,11 @@ 2005-07-25 Sushma Rai + * backends/groupwise/e-book-backend-groupwise.c + (update_address_book_deltas): Freezing the file cache for + GroupWise system address book at the proper place. + +2005-07-25 Sushma Rai + * libebook/e-book.c: Handling gcc specific "__PRETTY_FUNCTION__" macro for other compilers. Patch by "The Written Word " for #271837 diff --git a/addressbook/backends/groupwise/e-book-backend-groupwise.c b/addressbook/backends/groupwise/e-book-backend-groupwise.c index c5cc296..37de902 100644 --- a/addressbook/backends/groupwise/e-book-backend-groupwise.c +++ b/addressbook/backends/groupwise/e-book-backend-groupwise.c @@ -2430,12 +2430,12 @@ update_address_book_deltas (EBookBackendGroupwise *ebgw) sequence = g_strdup_printf ("%d", cache_last_sequence +1); count = g_strdup_printf ("%d", CURSOR_ITEM_LIMIT); + e_file_cache_freeze_changes (E_FILE_CACHE (cache)); while (cache_last_sequence < server_last_sequence) { e_gw_connection_get_items_delta (priv->cnc, ebgw->priv->container_id, "name email sync", count, sequence, &add_list, &delete_list); - e_file_cache_freeze_changes (E_FILE_CACHE (cache)); if (add_list == NULL && delete_list == NULL) { /* this should not happen ideally */ break; -- 2.7.4