[evolution-data-server] Remove camel_imapx_store_summary_mailbox_from_path().



commit 119c13699b0c95e1157ffce8e61644dbd8c73351
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Sep 11 08:32:17 2013 -0400

    Remove camel_imapx_store_summary_mailbox_from_path().
    
    No longer used.

 camel/camel-imapx-store-summary.c       |   19 -------------------
 camel/camel-imapx-store-summary.h       |    5 -----
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/camel/camel-imapx-store-summary.c b/camel/camel-imapx-store-summary.c
index 9b608e3..d630aa3 100644
--- a/camel/camel-imapx-store-summary.c
+++ b/camel/camel-imapx-store-summary.c
@@ -489,25 +489,6 @@ camel_imapx_store_summary_add_from_mailbox (CamelIMAPXStoreSummary *s,
        return info;
 }
 
-/* should this be const? */
-/* TODO: deprecate/merge this function with path_to_mailbox */
-gchar *
-camel_imapx_store_summary_mailbox_from_path (CamelIMAPXStoreSummary *s,
-                                             const gchar *path)
-{
-       CamelIMAPXStoreNamespace *ns;
-       gchar *mailbox = NULL;
-
-       ns = camel_imapx_store_summary_namespace_find_by_path (s, path);
-       if (ns)
-               mailbox = camel_imapx_store_summary_path_to_mailbox (
-                       s, path, ns->sep);
-
-       d ("looking up path %s -> %s\n", path, mailbox ? mailbox:"not found");
-
-       return mailbox;
-}
-
 CamelIMAPXStoreNamespace *
 camel_imapx_store_summary_namespace_find_by_path (CamelIMAPXStoreSummary *s,
                                                   const gchar *path)
diff --git a/camel/camel-imapx-store-summary.h b/camel/camel-imapx-store-summary.h
index ed90cab..82d0003 100644
--- a/camel/camel-imapx-store-summary.h
+++ b/camel/camel-imapx-store-summary.h
@@ -116,11 +116,6 @@ CamelIMAPXStoreInfo *
                                                (CamelIMAPXStoreSummary *s,
                                                 CamelIMAPXMailbox *mailbox);
 
-/* a convenience lookup function. always use this if path known */
-gchar *                camel_imapx_store_summary_mailbox_from_path
-                                               (CamelIMAPXStoreSummary *s,
-                                                const gchar *path);
-
 G_END_DECLS
 
 #endif /* CAMEL_IMAP_STORE_SUMMARY_H */
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 8dad772..260eb1c 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1151,7 +1151,6 @@ camel_imapx_store_summary_namespace_find_by_mailbox
 camel_imapx_store_summary_path_to_mailbox
 camel_imapx_store_summary_mailbox
 camel_imapx_store_summary_add_from_mailbox
-camel_imapx_store_summary_mailbox_from_path
 <SUBSECTION Standard>
 CAMEL_IMAPX_STORE_SUMMARY
 CAMEL_IS_IMAPX_STORE_SUMMARY


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]