aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 4fdfd6cb4f..35346813db 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -251,7 +251,7 @@ imap_refresh_info (CamelFolder *folder, CamelException *ex)
gboolean folder_changed = FALSE;
if (imap_folder->exists == 0) {
- if (camel_folder_summary_count != 0) {
+ if (camel_folder_summary_count (imap_folder->summary) != 0) {
camel_folder_summary_clear (imap_folder->summary);
camel_object_trigger_event (CAMEL_OBJECT (folder),
"folder_changed", NULL);