[evolution-data-server] Remove redundant 'unseen' member of CamelIMAPXServer.
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove redundant 'unseen' member of CamelIMAPXServer.
- Date: Thu, 24 Jun 2010 13:01:38 +0000 (UTC)
commit 01d5bf8cab1cc7fb031e9cfd0c1ca2ec8e1b5837
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.
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 5a13857..0e4b777 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1441,7 +1441,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);
}
@@ -1776,7 +1776,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 130fd07..2c4820a 100644
--- a/camel/providers/imapx/camel-imapx-server.h
+++ b/camel/providers/imapx/camel-imapx-server.h
@@ -101,7 +101,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]