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



commit 85963abc72571fcbac260fcbe7e5b93a2f6fefb7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Aug 30 16:16:01 2013 -0400

    Remove camel_imapx_folder_process_status_response().
    
    No longer used.

 camel/camel-imapx-folder.c              |   29 -----------------------------
 camel/camel-imapx-folder.h              |    4 ----
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 34 deletions(-)
---
diff --git a/camel/camel-imapx-folder.c b/camel/camel-imapx-folder.c
index 7952bf5..e4a87a0 100644
--- a/camel/camel-imapx-folder.c
+++ b/camel/camel-imapx-folder.c
@@ -1622,32 +1622,3 @@ camel_imapx_folder_invalidate_local_cache (CamelIMAPXFolder *folder,
        camel_folder_summary_free_array (array);
 }
 
-/**
- * camel_imapx_folder_process_status_response:
- * @folder: a #CamelIMAPXFolder
- * @response: a #CamelIMAPXStatusResponse
- *
- * Updates @folder's local status information from @response.
- *
- * Since: 3.10
- **/
-void
-camel_imapx_folder_process_status_response (CamelIMAPXFolder *folder,
-                                            CamelIMAPXStatusResponse *response)
-{
-       g_return_if_fail (CAMEL_IS_IMAPX_FOLDER (folder));
-       g_return_if_fail (CAMEL_IS_IMAPX_STATUS_RESPONSE (response));
-
-       /* XXX Should be using some sort of locking here. */
-
-       folder->exists_on_server =
-               camel_imapx_status_response_get_messages (response);
-       folder->unread_on_server =
-               camel_imapx_status_response_get_unseen (response);
-       folder->uidnext_on_server =
-               camel_imapx_status_response_get_uidnext (response);
-       folder->uidvalidity_on_server =
-               camel_imapx_status_response_get_uidvalidity (response);
-       folder->modseq_on_server =
-               camel_imapx_status_response_get_highestmodseq (response);
-}
diff --git a/camel/camel-imapx-folder.h b/camel/camel-imapx-folder.h
index a7efacf..f773070 100644
--- a/camel/camel-imapx-folder.h
+++ b/camel/camel-imapx-folder.h
@@ -34,7 +34,6 @@
 #include <camel/camel-store.h>
 
 #include <camel/camel-imapx-mailbox.h>
-#include <camel/camel-imapx-status-response.h>
 
 /* Standard GObject macros */
 #define CAMEL_TYPE_IMAPX_FOLDER \
@@ -108,9 +107,6 @@ void                camel_imapx_folder_add_move_to_real_trash
 void           camel_imapx_folder_invalidate_local_cache
                                                (CamelIMAPXFolder *folder,
                                                 guint64 new_uidvalidity);
-void           camel_imapx_folder_process_status_response
-                                               (CamelIMAPXFolder *folder,
-                                                CamelIMAPXStatusResponse *response);
 
 G_END_DECLS
 
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index d0cac1c..eeac71d 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -789,7 +789,6 @@ camel_imapx_folder_copy_message_map
 camel_imapx_folder_add_move_to_real_junk
 camel_imapx_folder_add_move_to_real_trash
 camel_imapx_folder_invalidate_local_cache
-camel_imapx_folder_process_status_response
 <SUBSECTION Standard>
 CAMEL_IMAPX_FOLDER
 CAMEL_IS_IMAPX_FOLDER


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