aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/folder-browser.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c067549acb..acb57b8b0b 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-09 Jeffrey Stedfast <fejj@ximian.com>
+
+ * folder-browser.c (done_message_selected): Make sure the
+ mail-display is non-NULL.
+
2001-10-09 <NotZed@Ximian.com>
* mail-local.c (mlf_search_by_uids): Implement.
diff --git a/mail/folder-browser.c b/mail/folder-browser.c
index 126ec20a01..ff83d029f0 100644
--- a/mail/folder-browser.c
+++ b/mail/folder-browser.c
@@ -1814,7 +1814,7 @@ done_message_selected (CamelFolder *folder, char *uid, CamelMimeMessage *msg, vo
FolderBrowser *fb = data;
int timeout = mail_config_get_mark_as_seen_timeout ();
- if (folder != fb->folder)
+ if (folder != fb->folder || fb->mail_display == NULL)
return;
mail_display_set_message (fb->mail_display, (CamelMedium *)msg);