summaryrefslogtreecommitdiff
path: root/camel/camel-imapx-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-08-20 11:40:26 -0400
committerMatthew Barnes <mbarnes@redhat.com>2013-08-20 11:44:09 -0400
commite8b1457bcdde3fff0301ec2e407aaf347ca26275 (patch)
treec2bd19e78642949a55400802db4327a77308909f /camel/camel-imapx-utils.c
parent2466fa639a86b67479c43830f51c3af516a90bf1 (diff)
downloadevolution-data-server-e8b1457bcdde3fff0301ec2e407aaf347ca26275.tar.gz
CamelIMAPXNamespaceList: Remove 'full_name' member.
The 'full_name' member is always identical to 'prefix', so not needed.
Diffstat (limited to 'camel/camel-imapx-utils.c')
-rw-r--r--camel/camel-imapx-utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/camel/camel-imapx-utils.c b/camel/camel-imapx-utils.c
index 2fce8c3e7..6fe7b9ef9 100644
--- a/camel/camel-imapx-utils.c
+++ b/camel/camel-imapx-utils.c
@@ -671,9 +671,6 @@ imapx_parse_namespace_list (CamelIMAPXStream *stream,
(node->prefix[6] == '\0' || node->prefix[6] == node->sep ))
memcpy (node->prefix, "INBOX", 5);
- /* TODO remove full_name later. not required */
- node->full_name = g_strdup (node->prefix);
-
tok = camel_imapx_stream_token (stream, &token, &len, cancellable, NULL);
if (tok != ')') {
g_set_error (error, CAMEL_IMAPX_ERROR, 1, "namespace: expected a ')'");
@@ -2909,7 +2906,6 @@ imapx_namespace_clear (CamelIMAPXStoreNamespace **ns)
node = *ns;
while (node != NULL) {
next = node->next;
- g_free (node->full_name);
g_free (node->prefix);
g_free (node);
node = next;