[evolution-ews/gnome-3-0] Fix crash in addressbook completion when no offline GAL cache
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-0] Fix crash in addressbook completion when no offline GAL cache
- Date: Thu, 20 Oct 2011 22:35:31 +0000 (UTC)
commit 11afc1651021fc5305f0aba02972240198fd2ac8
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 7b38908..aa9ea1b 100644
--- a/src/addressbook/e-book-backend-ews.c
+++ b/src/addressbook/e-book-backend-ews.c
@@ -2083,7 +2083,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]