[evolution-data-server] Remove IMAPX_MODE_READ and IMAPX_MODE_WRITE flags.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove IMAPX_MODE_READ and IMAPX_MODE_WRITE flags.
- Date: Mon, 2 Sep 2013 23:30:28 +0000 (UTC)
commit f161b5d3285dd2cacacd06177b34d0bffc87cd0a
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Sep 2 19:19:23 2013 -0400
Remove IMAPX_MODE_READ and IMAPX_MODE_WRITE flags.
We set these flags from READ-ONLY and READ-WRITE response codes in
IMAP status responses but we don't currently do anything with them.
camel/camel-imapx-server.c | 10 ----------
camel/camel-imapx-server.h | 3 ---
docs/reference/camel/camel-sections.txt | 2 --
3 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 9e53936..d4cb411 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -338,7 +338,6 @@ struct _CamelIMAPXServerPrivate {
guint32 uidnext;
guint32 exists;
guint32 recent;
- guint32 mode;
/* Untagged SEARCH data gets deposited here.
* The search command should claim the results
@@ -2323,14 +2322,6 @@ imapx_untagged_ok_no_bad (CamelIMAPXServer *is,
g_mutex_unlock (&is->priv->select_lock);
}
break;
- case IMAPX_READ_WRITE:
- is->priv->mode = IMAPX_MODE_READ | IMAPX_MODE_WRITE;
- c (is->tagprefix, "folder is read-write\n");
- break;
- case IMAPX_READ_ONLY:
- is->priv->mode = IMAPX_MODE_READ;
- c (is->tagprefix, "folder is read-only\n");
- break;
case IMAPX_UIDVALIDITY:
is->priv->uidvalidity =
is->priv->context->sinfo->u.uidvalidity;
@@ -3605,7 +3596,6 @@ imapx_maybe_select (CamelIMAPXServer *is,
is->priv->permanentflags = 0;
is->priv->exists = 0;
is->priv->recent = 0;
- is->priv->mode = 0;
is->priv->uidnext = 0;
/* Hrm, what about reconnecting? */
diff --git a/camel/camel-imapx-server.h b/camel/camel-imapx-server.h
index 9f4b5e1..3b3a0dc 100644
--- a/camel/camel-imapx-server.h
+++ b/camel/camel-imapx-server.h
@@ -50,9 +50,6 @@
(G_TYPE_INSTANCE_GET_CLASS \
((obj), CAMEL_TYPE_IMAPX_SERVER, CamelIMAPXServerClass))
-#define IMAPX_MODE_READ (1 << 0)
-#define IMAPX_MODE_WRITE (1 << 1)
-
G_BEGIN_DECLS
/* Avoid a circular reference. */
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 42a1449..f99b8e8 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -915,8 +915,6 @@ CAMEL_IMAPX_SERVER_GET_CLASS
CamelIMAPXServerClass
camel_imapx_server_get_type
<SUBSECTION Private>
-IMAPX_MODE_READ
-IMAPX_MODE_WRITE
CamelIMAPXIdle
CamelIMAPXServerPrivate
imapx_connect_to_server
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]