aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 02:46:40 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-07-30 02:46:40 +0800
commitfef40cfdca7f9b228252f9ab9fafaee5bc7695ee (patch)
treeb93517289e47ed0bb2289fbd1f33472dcab3ac2d
parent5e1aa13961004f34e520849b95f33bc52eea2338 (diff)
downloadgsoc2013-evolution-fef40cfdca7f9b228252f9ab9fafaee5bc7695ee.tar.gz
gsoc2013-evolution-fef40cfdca7f9b228252f9ab9fafaee5bc7695ee.tar.zst
gsoc2013-evolution-fef40cfdca7f9b228252f9ab9fafaee5bc7695ee.zip
Fixes #453860.
svn path=/trunk/; revision=33891
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-select-names-editable.c3
2 files changed, 9 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index d538c0c265..8ac97ca941 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2007-07-30 Chenthill Palanisamy <pchenthill@novell.com>
+
+ * gui/e-select-names-editable.c:
+ (e_select_names_editable_get_emails):
+
+ Committing on behalf of Xiurong Simon Zheng <simon.zheng@sun.com>
+
2007-07-29 Milan Crha <mcrha@redhat.com>
** Fix for bug #200977
diff --git a/calendar/gui/e-select-names-editable.c b/calendar/gui/e-select-names-editable.c
index bc4a754a8c..c575ed44b7 100644
--- a/calendar/gui/e-select-names-editable.c
+++ b/calendar/gui/e-select-names-editable.c
@@ -151,7 +151,8 @@ e_select_names_editable_get_emails (ESelectNamesEditable *esne)
} else {
/* check if the contact is contact list, it does not contain all the email ids */
/* we dont expand it currently, TODO do we need to expand it by getting it from addressbook*/
- if (e_contact_get (e_destination_get_contact (destination), E_CONTACT_IS_LIST)) {
+ if (e_destination_get_contact (destination) &&
+ e_contact_get (e_destination_get_contact (destination), E_CONTACT_IS_LIST)) {
/* If its a contact_list which is not expanded, it wont have a email id,
so we can use the name as the email id */