aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-07-27 14:38:20 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-07-27 14:38:20 +0800
commit4f5134afdac9ec5824e8bcb86b8c02a0bec7c955 (patch)
tree087fbc507de4211666cab44a1f91c9491df286e2 /mail/message-list.c
parent6143e926a5071b8317f0d25c8ef43d5d84b80eda (diff)
downloadgsoc2013-evolution-4f5134afdac9ec5824e8bcb86b8c02a0bec7c955.tar.gz
gsoc2013-evolution-4f5134afdac9ec5824e8bcb86b8c02a0bec7c955.tar.zst
gsoc2013-evolution-4f5134afdac9ec5824e8bcb86b8c02a0bec7c955.zip
2007-07-27 mcrha Fix for bug #303937
svn path=/trunk/; revision=33859
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 7147961c1b..07d1f5b3cc 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1982,7 +1982,7 @@ ml_tree_drag_data_received (ETree *tree, int row, ETreePath path, int col,
struct _drop_msg *m;
/* this means we are receiving no data */
- if (data->data == NULL || data->length == -1)
+ if (!ml->folder || data->data == NULL || data->length == -1)
return;
m = mail_msg_new(&ml_drop_async_op, NULL, sizeof(*m));