aboutsummaryrefslogtreecommitdiffstats
path: root/my-evolution
diff options
context:
space:
mode:
Diffstat (limited to 'my-evolution')
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-mail.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 5a35dd3272..cceecbda73 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-24 Iain Holmes <iain@ximian.com>
+
+ * e-summary-mail.c (e_summary_mail_init): Don't free the mail part.
+ Allows the summary to still function without the mail part.
+
2001-10-22 Anna Marie Dirks <anna@ximian.com>
* my-evolution.glade: Changed "Add new feed" to "Add news feed".
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 73d919ca4a..149678b51d 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -400,14 +400,11 @@ e_summary_mail_init (ESummary *summary,
mail->html = NULL;
CORBA_exception_init (&ev);
mail->folder_info = oaf_activate_from_id (MAIL_IID, 0, NULL, &ev);
- if (BONOBO_EX (&ev)) {
+ if (BONOBO_EX (&ev) || mail->folder_info == NULL) {
g_warning ("Exception creating FolderInfo: %s",
CORBA_exception_id (&ev));
CORBA_exception_free (&ev);
- g_free (mail);
- summary->mail = NULL;
-
return;
}