[evolution-data-server/imap-notify: 21/23] Remove camel_imapx_folder_process_status_response().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/imap-notify: 21/23] Remove camel_imapx_folder_process_status_response().
- Date: Tue, 10 Sep 2013 14:07:17 +0000 (UTC)
commit 9f89ce76f3cad6d65b9c13e1c8787a391054f663
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 5d40036..6e7ce65 100644
--- a/camel/camel-imapx-folder.c
+++ b/camel/camel-imapx-folder.c
@@ -1583,32 +1583,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 8b866a2..d5f538d 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 \
@@ -106,9 +105,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 48e6740..ccd3c65 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -782,7 +782,6 @@ camel_imapx_folder_list_mailbox
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]