diff options
author | Not Zed <NotZed@Ximian.com> | 2005-04-06 13:42:30 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-04-06 13:42:30 +0800 |
commit | b6fb54466f30b83d74cf118f2f9aa73b5ee61505 (patch) | |
tree | e5707a23568cd6e4f78cf5b5823e0f015a35b027 /plugins | |
parent | 9562db3ab0d93d6bc591caa5f5e8624a120544f7 (diff) | |
download | gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar.gz gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar.bz2 gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar.lz gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar.xz gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.tar.zst gsoc2013-evolution-b6fb54466f30b83d74cf118f2f9aa73b5ee61505.zip |
noop if we can't open the book/we're disabled.
2005-04-05 Not Zed <NotZed@Ximian.com>
* bbdb.c (bbdb_handle_reply): noop if we can't open the book/we're
disabled.
svn path=/trunk/; revision=29162
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/bbdb/ChangeLog | 5 | ||||
-rw-r--r-- | plugins/bbdb/bbdb.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog index 017a2da387..aaf7f806d4 100644 --- a/plugins/bbdb/ChangeLog +++ b/plugins/bbdb/ChangeLog @@ -1,3 +1,8 @@ +2005-04-05 Not Zed <NotZed@Ximian.com> + + * bbdb.c (bbdb_handle_reply): noop if we can't open the book/we're + disabled. + 2005-02-07 JP Rosevear <jpr@novell.com> * org-gnome-evolution-bbdb.eplug.in: specify id diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index d1a9619277..ef58ff9fc8 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -113,6 +113,8 @@ bbdb_handle_reply (EPlugin *ep, EMEventTargetMessage *target) /* Open the addressbook */ book = bbdb_open_addressbook (); + if (book == NULL) + return; cia = camel_mime_message_get_from (target->message); for (i = 0; i < camel_address_length CAMEL_ADDRESS (cia); i ++) { |