aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-10 07:21:11 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-10 07:21:11 +0800
commitf989a757a1986a7b1337b3cc553241345c852f34 (patch)
tree250637bc6c44ac448c0b80a355fe8785a563ed4b /mail
parentf9a1de69f07e57a0ff2f3ff8ce7c9dfc546da222 (diff)
downloadgsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.gz
gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.zst
gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.zip
Make sure the mail-display is non-NULL.
2001-10-09 Jeffrey Stedfast <fejj@ximian.com> * folder-browser.c (done_message_selected): Make sure the mail-display is non-NULL. svn path=/trunk/; revision=13535
Diffstat (limited to 'mail')
-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);