[evolution-ews/gnome-2-28] Fix crash in addressbook completion when no offline GAL cache
- From: Punit Jain <jpunit src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-2-28] Fix crash in addressbook completion when no offline GAL cache
- Date: Fri, 9 Mar 2012 13:05:11 +0000 (UTC)
commit 42d7e051ba41cd756e3edd5d07894a594da8a792
Author: David Woodhouse <David Woodhouse intel com>
Date: Wed Oct 19 22:19:53 2011 +0100
Fix crash in addressbook completion when no offline GAL cache
src/addressbook/e-book-backend-ews.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-ews.c b/src/addressbook/e-book-backend-ews.c
index 0128bde..4db9909 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2077,7 +2077,8 @@ e_book_backend_ews_start_book_view (EBookBackend *backend,
ebews_start_refreshing (ebews);
- if (e_book_backend_sqlitedb_get_is_populated (priv->ebsdb, priv->folder_id, NULL)) {
+ if (priv->ebsdb &&
+ e_book_backend_sqlitedb_get_is_populated (priv->ebsdb, priv->folder_id, NULL)) {
fetch_from_offline (ebews, book_view, query, error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]