[evolution-data-server] Remove unused camel_imapx_summary_add_offline().



commit 0a612b4c99f25c382b02b17ec13c8fc803000da9
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Sep 19 15:20:11 2013 -0400

    Remove unused camel_imapx_summary_add_offline().

 camel/camel-imapx-summary.c             |   33 -------------------------------
 camel/camel-imapx-summary.h             |    4 ---
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 38 deletions(-)
---
diff --git a/camel/camel-imapx-summary.c b/camel/camel-imapx-summary.c
index b9bb7c7..1c1a7cd 100644
--- a/camel/camel-imapx-summary.c
+++ b/camel/camel-imapx-summary.c
@@ -344,39 +344,6 @@ content_info_to_db (CamelFolderSummary *s,
 }
 
 void
-camel_imapx_summary_add_offline (CamelFolderSummary *summary,
-                                 const gchar *uid,
-                                 CamelMimeMessage *message,
-                                 const CamelMessageInfo *info)
-{
-       CamelIMAPXMessageInfo *mi;
-       const CamelFlag *flag;
-       const CamelTag *tag;
-
-       /* Create summary entry */
-       mi = (CamelIMAPXMessageInfo *) camel_folder_summary_info_new_from_message (summary, message, NULL);
-
-       /* Copy flags 'n' tags */
-       mi->info.flags = camel_message_info_flags (info);
-
-       flag = camel_message_info_user_flags (info);
-       while (flag) {
-               camel_message_info_set_user_flag ((CamelMessageInfo *) mi, flag->name, TRUE);
-               flag = flag->next;
-       }
-       tag = camel_message_info_user_tags (info);
-       while (tag) {
-               camel_message_info_set_user_tag ((CamelMessageInfo *) mi, tag->name, tag->value);
-               tag = tag->next;
-       }
-
-       mi->info.size = camel_message_info_size (info);
-       mi->info.uid = camel_pstring_strdup (uid);
-
-       camel_folder_summary_add (summary, (CamelMessageInfo *) mi);
-}
-
-void
 camel_imapx_summary_add_offline_uncached (CamelFolderSummary *summary,
                                           const gchar *uid,
                                           const CamelMessageInfo *info)
diff --git a/camel/camel-imapx-summary.h b/camel/camel-imapx-summary.h
index 35c5e32..e919df0 100644
--- a/camel/camel-imapx-summary.h
+++ b/camel/camel-imapx-summary.h
@@ -93,10 +93,6 @@ struct _CamelIMAPXSummaryClass {
 GType          camel_imapx_summary_get_type    (void);
 CamelFolderSummary *
                camel_imapx_summary_new         (CamelFolder *folder);
-void           camel_imapx_summary_add_offline (CamelFolderSummary *summary,
-                                                const gchar *uid,
-                                                CamelMimeMessage *message,
-                                                const CamelMessageInfo *info);
 void           camel_imapx_summary_add_offline_uncached
                                                (CamelFolderSummary *summary,
                                                 const gchar *uid,
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 65fccf5..fd7cdfe 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1093,7 +1093,6 @@ CamelIMAPXMessageInfo
 CamelIMAPXMessageContentInfo
 CamelIMAPXSummary
 camel_imapx_summary_new
-camel_imapx_summary_add_offline
 camel_imapx_summary_add_offline_uncached
 <SUBSECTION Standard>
 CAMEL_IMAPX_SUMMARY


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