aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-04-09 00:41:06 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-04-09 00:41:06 +0800
commit74a2482d4a4c9349642b063ecd6f46f77757a746 (patch)
treed62e9b5cb6aa267e84b79fbdf75e03d5bda91a77 /mail/mail-callbacks.c
parentfe0bc3328d2e18b3d5cd71876e3d8a5bf98ab4ae (diff)
downloadgsoc2013-evolution-74a2482d4a4c9349642b063ecd6f46f77757a746.tar.gz
gsoc2013-evolution-74a2482d4a4c9349642b063ecd6f46f77757a746.tar.zst
gsoc2013-evolution-74a2482d4a4c9349642b063ecd6f46f77757a746.zip
Add a check for a NULL uid here. Don't see how it can happen, but it seems
2003-04-08 Jeffrey Stedfast <fejj@ximian.com> * mail-callbacks.c (do_view_message): Add a check for a NULL uid here. Don't see how it can happen, but it seems to have for Aaron. Anyways, this should fix bug #40904. svn path=/trunk/; revision=20762
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 d1fbb74957..c51a73c27e 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -3121,7 +3121,7 @@ do_view_message (CamelFolder *folder, const char *uid, CamelMimeMessage *message
if (FOLDER_BROWSER_IS_DESTROYED (fb))
return;
- if (message) {
+ if (message && uid) {
GtkWidget *mb;
camel_folder_set_message_flags (folder, uid, CAMEL_MESSAGE_SEEN, CAMEL_MESSAGE_SEEN);