[evolution-data-server/gnome-2-30] Remove redundant 'unseen' member of CamelIMAPXServer.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/gnome-2-30] Remove redundant 'unseen' member of CamelIMAPXServer.
- Date: Mon, 28 Jun 2010 19:35:17 +0000 (UTC)
commit 5d159de5631aa363329f21379184e49ac0fec87b
Author: David Woodhouse <David Woodhouse intel com>
Date: Sun Jun 20 23:43:28 2010 +0100
Remove redundant 'unseen' member of CamelIMAPXServer.
This was added in commit ed158d12 ("Fetch new messages first") seemingly by
mistake -- there was already an 'unread' field.
(cherry picked from commit 01d5bf8cab1cc7fb031e9cfd0c1ca2ec8e1b5837)
camel/providers/imapx/camel-imapx-server.c | 4 ++--
camel/providers/imapx/camel-imapx-server.h | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index e656985..1696a13 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1443,7 +1443,7 @@ imapx_untagged(CamelIMAPXServer *imap, CamelException *ex)
if (sinfo) {
/* this is what we use atm */
imap->exists = sinfo->messages;
- imap->unread = sinfo->unseen;
+ imap->unseen = sinfo->unseen;
g_free (sinfo);
}
@@ -1771,7 +1771,7 @@ imapx_command_status_done (CamelIMAPXServer *is, CamelIMAPXCommand *ic)
{
CamelIMAPXFolder *ifolder = (CamelIMAPXFolder *) ic->job->folder;
- ifolder->unread_on_server = is->unread;
+ ifolder->unread_on_server = is->unseen;
e_flag_set (ic->flag);
}
diff --git a/camel/providers/imapx/camel-imapx-server.h b/camel/providers/imapx/camel-imapx-server.h
index f385e9a..5aec5b8 100644
--- a/camel/providers/imapx/camel-imapx-server.h
+++ b/camel/providers/imapx/camel-imapx-server.h
@@ -84,7 +84,6 @@ struct _CamelIMAPXServer {
guint32 exists;
guint32 recent;
guint32 mode;
- guint32 unread;
/* any expunges that happened from the last command, they are
processed after the command completes. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]