aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-backend.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2009-12-28 21:12:28 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2009-12-28 21:14:09 +0800
commit6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0 (patch)
tree8dc7acf0ca7bff50ece62f1c95db2493deb15a23 /mail/e-mail-backend.c
parent32bc83c91d575d7258252a9c532309e8e9015d84 (diff)
downloadgsoc2013-evolution-6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0.tar.gz
gsoc2013-evolution-6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0.tar.zst
gsoc2013-evolution-6a72dacb7db51cd0f6b84e9aefd248677c0ff4e0.zip
Bug 361145 - Evolution hangs when formatting message - fixes part of it.
Diffstat (limited to 'mail/e-mail-backend.c')
-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 65633da097..4ab444027f 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -342,7 +342,7 @@ mail_backend_folder_changed_cb (MailFolderCache *folder_cache,
gint flags = 0;
if (!mail_folder_cache_get_folder_from_uri (folder_cache, folder_uri, &folder))
- if (!mail_folder_cache_get_folder_info_flags (folder_cache, folder, &flags))
+ if (folder && !mail_folder_cache_get_folder_info_flags (folder_cache, folder, &flags))
g_return_if_reached ();
target = em_event_target_new_folder (