diff options
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r-- | mail/mail-folder-cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c index 30bbce6579..5dd215a156 100644 --- a/mail/mail-folder-cache.c +++ b/mail/mail-folder-cache.c @@ -287,7 +287,7 @@ update_1folder (MailFolderCache *self, if ((deleted = camel_folder_get_deleted_message_count (folder)) > 0) unread -= deleted; - junked = folder->summary->junk_count; + junked = camel_folder_summary_get_junk_count (folder->summary); if (junked > 0) unread -= junked; } |