[evolution-data-server/imap-notify: 31/40] Remove camel_imapx_store_summary_namespace_find_by_path().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/imap-notify: 31/40] Remove camel_imapx_store_summary_namespace_find_by_path().
- Date: Thu, 12 Sep 2013 17:04:08 +0000 (UTC)
commit 3a431b8125e2b62cbaacab7675dbff9a54a5d874
Author: Matthew Barnes <mbarnes redhat com>
Date: Wed Sep 11 10:28:39 2013 -0400
Remove camel_imapx_store_summary_namespace_find_by_path().
No longer used.
camel/camel-imapx-store-summary.c | 23 -----------------------
camel/camel-imapx-store-summary.h | 4 ----
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/camel/camel-imapx-store-summary.c b/camel/camel-imapx-store-summary.c
index 5323625..b31ae6c 100644
--- a/camel/camel-imapx-store-summary.c
+++ b/camel/camel-imapx-store-summary.c
@@ -413,29 +413,6 @@ camel_imapx_store_summary_add_from_mailbox (CamelIMAPXStoreSummary *s,
}
CamelIMAPXStoreNamespace *
-camel_imapx_store_summary_namespace_find_by_path (CamelIMAPXStoreSummary *s,
- const gchar *path)
-{
- gint len;
- CamelIMAPXStoreNamespace *ns;
-
- /* NB: this currently only compares against 1 namespace, in future compare against others */
- /* CHEN TODO */
- ns = s->namespaces->personal;
- while (ns) {
- len = strlen (ns->prefix);
- if (len == 0
- || (strncmp (ns->prefix, path, len) == 0
- && (path[len] == '/' || path[len] == 0)))
- break;
- ns = NULL;
- }
-
- /* have a default? */
- return ns;
-}
-
-CamelIMAPXStoreNamespace *
camel_imapx_store_summary_namespace_find_by_mailbox (CamelIMAPXStoreSummary *s,
const gchar *mailbox)
{
diff --git a/camel/camel-imapx-store-summary.h b/camel/camel-imapx-store-summary.h
index 96eef8d..fd57bd3 100644
--- a/camel/camel-imapx-store-summary.h
+++ b/camel/camel-imapx-store-summary.h
@@ -93,10 +93,6 @@ CamelIMAPXStoreSummary *
/* TODO: this api needs some more work, needs to support lists */
CamelIMAPXStoreNamespace *
- camel_imapx_store_summary_namespace_find_by_path
- (CamelIMAPXStoreSummary *s,
- const gchar *path);
-CamelIMAPXStoreNamespace *
camel_imapx_store_summary_namespace_find_by_mailbox
(CamelIMAPXStoreSummary *s,
const gchar *mailbox);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 70ec527..96b4e2a 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1136,7 +1136,6 @@ CamelIMAPXStoreNamespace
CamelIMAPXNamespaceList
CamelIMAPXStoreSummary
camel_imapx_store_summary_new
-camel_imapx_store_summary_namespace_find_by_path
camel_imapx_store_summary_namespace_find_by_mailbox
camel_imapx_store_summary_mailbox
camel_imapx_store_summary_add_from_mailbox
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]