summaryrefslogtreecommitdiff
path: root/camel/camel-imapx-store-summary.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-imapx-store-summary.c')
-rw-r--r--camel/camel-imapx-store-summary.c23
1 files changed, 0 insertions, 23 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)
{