aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/message-list.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index e4bc6dbf3d..5969030766 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-10-23 <NotZed@Ximian.com>
+ * message-list.c (regen_list_regened): Dont do anything if we're
+ destroyed #13021.
+
* mail-mt.c (mail_user_message):
(mail_get_password): Removed, all functionality moved to
mail-session.
diff --git a/mail/message-list.c b/mail/message-list.c
index 679c584a24..9a7ab43bbd 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -2450,6 +2450,9 @@ static void
regen_list_regened (struct _mail_msg *mm)
{
struct _regen_list_msg *m = (struct _regen_list_msg *)mm;
+
+ if (GTK_OBJECT_DESTROYED(m->ml))
+ return;
if (m->summary == NULL)
return;