Remove camel_imapx_store_summary_mailbox_from_path().
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 11 Sep 2013 12:32:17 +0000 (08:32 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Sun, 27 Oct 2013 12:24:42 +0000 (08:24 -0400)
No longer used.

camel/camel-imapx-store-summary.c
camel/camel-imapx-store-summary.h
docs/reference/camel/camel-sections.txt

index 9b608e3..d630aa3 100644 (file)
@@ -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)
index ed90cab..82d0003 100644 (file)
@@ -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 */
index 8dad772..260eb1c 100644 (file)
@@ -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