aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-07-10 20:59:21 +0800
committerMilan Crha <mcrha@redhat.com>2012-07-10 20:59:21 +0800
commit8e5ed2e6458bf04d81c2a355f20a4b80f91548c8 (patch)
tree0647b7121765744d355e6ada4c73a8360f7419f1 /mail
parent114d0574dbc30dabd26b858834a3d891160da0da (diff)
downloadgsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar.gz
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar.bz2
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar.lz
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar.xz
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.tar.zst
gsoc2013-evolution-8e5ed2e6458bf04d81c2a355f20a4b80f91548c8.zip
Avoid crash on folder rename
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index e0213f6f43..164e5a090d 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -592,7 +592,7 @@ mail_backend_folder_renamed_cb (MailFolderCache *folder_cache,
e_source_mail_submission_get_sent_folder (
E_SOURCE_MAIL_SUBMISSION (extension));
- if (class->equal_folder_name (sent_folder_uri, old_uri)) {
+ if (sent_folder_uri && class->equal_folder_name (sent_folder_uri, old_uri)) {
GError *error = NULL;
e_source_mail_submission_set_sent_folder (