aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--my-evolution/ChangeLog5
-rw-r--r--my-evolution/e-summary-mail.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog
index 70fa60d0a6..b36cd3e1cd 100644
--- a/my-evolution/ChangeLog
+++ b/my-evolution/ChangeLog
@@ -1,5 +1,10 @@
2001-07-11 Iain Holmes <iain@ximian.com>
+ * e-summary-mail.c (e_summary_mail_generate_html): Protect with
+ g_return_if_fail
+
+2001-07-11 Iain Holmes <iain@ximian.com>
+
* e-summary.c (destroy): Destroy the alarm.
(e_summary_init): Init the alarm.
diff --git a/my-evolution/e-summary-mail.c b/my-evolution/e-summary-mail.c
index 2d9293acbe..c3f8981add 100644
--- a/my-evolution/e-summary-mail.c
+++ b/my-evolution/e-summary-mail.c
@@ -93,6 +93,9 @@ e_summary_mail_generate_html (ESummary *summary)
GList *p;
gchar *s;
+ g_return_if_fail (summary != NULL);
+ g_return_if_fail (IS_E_SUMMARY (summary));
+
mail = summary->mail;
string = g_string_new ("<dl><dt><img src=\"ico-mail.png\" "
"align=\"middle\" alt=\"\" width=\"48\" "