aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-07 05:47:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-07 05:47:58 +0800
commit739376df3bf27a0e95466ffb67f62a9711430716 (patch)
treece5ebdbe7355d039504cab96fb37118bc5986a58 /mail/mail-callbacks.c
parent4cbbf6af0bf74b0c850ce9ff6c2e5888eda42483 (diff)
downloadgsoc2013-evolution-739376df3bf27a0e95466ffb67f62a9711430716.tar.gz
gsoc2013-evolution-739376df3bf27a0e95466ffb67f62a9711430716.tar.zst
gsoc2013-evolution-739376df3bf27a0e95466ffb67f62a9711430716.zip
Set the message-display message to NULL if we can't get an info too.
2001-08-06 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (expunge_folder): Set the message-display message to NULL if we can't get an info too. svn path=/trunk/; revision=11711
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r--mail/mail-callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index 56c5516d87..e5ac76bc56 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -1701,7 +1701,7 @@ expunge_folder (BonoboUIComponent *uih, void *user_data, const char *path)
if (fb->loaded_uid) {
info = camel_folder_get_message_info (fb->folder, fb->loaded_uid);
- if (info && info->flags & CAMEL_MESSAGE_DELETED)
+ if (!info || info->flags & CAMEL_MESSAGE_DELETED)
mail_display_set_message (fb->mail_display, NULL);
}