diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-09-11 10:28:39 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-09-12 13:00:28 -0400 |
commit | 3a431b8125e2b62cbaacab7675dbff9a54a5d874 (patch) | |
tree | 4e3b4766d1609d1ff6084652f6cf1a3f6154ec27 | |
parent | 2e6cc584d12d0d35ce1d656b909f0fce27a563ba (diff) | |
download | evolution-data-server-3a431b8125e2b62cbaacab7675dbff9a54a5d874.tar.gz |
Remove camel_imapx_store_summary_namespace_find_by_path().
No longer used.
-rw-r--r-- | camel/camel-imapx-store-summary.c | 23 | ||||
-rw-r--r-- | camel/camel-imapx-store-summary.h | 4 | ||||
-rw-r--r-- | 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 53236250b..b31ae6cce 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 96eef8d38..fd57bd3ab 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 70ec52709..96b4e2ae2 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 |