diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-10 07:21:11 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-10 07:21:11 +0800 |
commit | f989a757a1986a7b1337b3cc553241345c852f34 (patch) | |
tree | 250637bc6c44ac448c0b80a355fe8785a563ed4b | |
parent | f9a1de69f07e57a0ff2f3ff8ce7c9dfc546da222 (diff) | |
download | gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.gz gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.bz2 gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.lz gsoc2013-evolution-f989a757a1986a7b1337b3cc553241345c852f34.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/folder-browser.c | 2 |
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); |