aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-12-06 06:58:41 +0800
committerDan Winship <danw@src.gnome.org>2000-12-06 06:58:41 +0800
commitefeeb1bd1fcc957193b4e65f825983abdd2744f7 (patch)
treef69f4eeb7f74a778feda99558b76b9558470415b /camel
parent135baf56e4dd8fef807e43ae0c35869bfba50396 (diff)
downloadgsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar.gz
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar.bz2
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar.lz
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar.xz
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.tar.zst
gsoc2013-evolution-efeeb1bd1fcc957193b4e65f825983abdd2744f7.zip
(imap_refresh_info): Fix a really really really dumb bug.
svn path=/trunk/; revision=6801
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog1
-rw-r--r--camel/providers/imap/camel-imap-folder.c2
2 files changed, 2 insertions, 1 deletions
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 <danw@helixcode.com>
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);