From efeeb1bd1fcc957193b4e65f825983abdd2744f7 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 5 Dec 2000 22:58:41 +0000 Subject: (imap_refresh_info): Fix a really really really dumb bug. svn path=/trunk/; revision=6801 --- camel/ChangeLog | 1 + camel/providers/imap/camel-imap-folder.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index b01b0b3c4f..8c575a14e8 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -3,6 +3,7 @@ * providers/imap/camel-imap-folder.c (imap_get_message): use BODY.PEEK[] rather than RFC822, so the message doesn't get marked as \Seen. + (imap_refresh_info): Fix a really really really dumb bug. 2000-12-05 Dan Winship 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); -- cgit v1.2.3