[evolution-data-server] Remove unused camel_imapx_store_summary_namespace_new().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused camel_imapx_store_summary_namespace_new().
- Date: Tue, 20 Aug 2013 19:08:26 +0000 (UTC)
commit 2466fa639a86b67479c43830f51c3af516a90bf1
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Aug 20 10:13:33 2013 -0400
Remove unused camel_imapx_store_summary_namespace_new().
camel/camel-imapx-store-summary.c | 30 ------------------------------
camel/camel-imapx-store-summary.h | 5 -----
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 36 deletions(-)
---
diff --git a/camel/camel-imapx-store-summary.c b/camel/camel-imapx-store-summary.c
index 219fd78..291b5cf 100644
--- a/camel/camel-imapx-store-summary.c
+++ b/camel/camel-imapx-store-summary.c
@@ -327,36 +327,6 @@ camel_imapx_store_summary_full_from_path (CamelIMAPXStoreSummary *s,
return name;
}
-/* TODO: this api needs some more work */
-CamelIMAPXStoreNamespace *
-camel_imapx_store_summary_namespace_new (CamelIMAPXStoreSummary *s,
- const gchar *full_name,
- gchar dir_sep)
-{
- CamelIMAPXStoreNamespace *ns;
- gchar *p, *o, c;
- gint len;
-
- ns = g_malloc0 (sizeof (*ns));
- ns->full_name = g_strdup (full_name);
- len = strlen (ns->full_name) - 1;
- if (len >= 0 && ns->full_name[len] == dir_sep)
- ns->full_name[len] = 0;
- ns->sep = dir_sep;
-
- o = p = ns->prefix = camel_imapx_store_summary_full_to_path (s, ns->full_name, dir_sep);
- while ((c = *p++)) {
- if (c != '#') {
- if (c == '/')
- c = '.';
- *o++ = c;
- }
- }
- *o = 0;
-
- return ns;
-}
-
CamelIMAPXStoreNamespace *
camel_imapx_store_summary_namespace_find_path (CamelIMAPXStoreSummary *s,
const gchar *path)
diff --git a/camel/camel-imapx-store-summary.h b/camel/camel-imapx-store-summary.h
index 39cffd0..7709585 100644
--- a/camel/camel-imapx-store-summary.h
+++ b/camel/camel-imapx-store-summary.h
@@ -98,11 +98,6 @@ CamelIMAPXStoreSummary *
/* TODO: this api needs some more work, needs to support lists */
CamelIMAPXStoreNamespace *
- camel_imapx_store_summary_namespace_new
- (CamelIMAPXStoreSummary *s,
- const gchar *full_name,
- gchar dir_sep);
-CamelIMAPXStoreNamespace *
camel_imapx_store_summary_namespace_find_path
(CamelIMAPXStoreSummary *s,
const gchar *path);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 042978f..e6075c9 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1034,7 +1034,6 @@ CamelIMAPXStoreNamespace
CamelIMAPXNamespaceList
CamelIMAPXStoreSummary
camel_imapx_store_summary_new
-camel_imapx_store_summary_namespace_new
camel_imapx_store_summary_namespace_find_path
camel_imapx_store_summary_namespace_find_full
camel_imapx_store_summary_full_to_path
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]