[evolution-data-server/imap-notify: 25/40] Remove camel_imapx_list_response_get_summary_flags().



commit 7e3d71188761ab21e568b7cf61543a5952fd88ac
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Aug 29 15:04:03 2013 -0400

    Remove camel_imapx_list_response_get_summary_flags().
    
    No longer used.

 camel/camel-imapx-list-response.c       |   45 -------------------------------
 camel/camel-imapx-list-response.h       |    4 ---
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 50 deletions(-)
---
diff --git a/camel/camel-imapx-list-response.c b/camel/camel-imapx-list-response.c
index b4e4a6c..fc846f2 100644
--- a/camel/camel-imapx-list-response.c
+++ b/camel/camel-imapx-list-response.c
@@ -835,48 +835,3 @@ camel_imapx_list_response_get_oldname (CamelIMAPXListResponse *response)
        return (value != NULL) ? g_variant_get_string (value, NULL) : NULL;
 }
 
-/**
- * camel_imapx_list_response_get_summary_flags:
- * @response: a #CamelIMAPXListResponse
- *
- * Converts the relevant mailbox attribute flags in @response to a
- * #CamelStoreInfoFlags value.
- *
- * Returns: a #CamelStoreInfoFlags value
- *
- * Since: 3.10
- **/
-CamelStoreInfoFlags
-camel_imapx_list_response_get_summary_flags (CamelIMAPXListResponse *response)
-{
-       CamelStoreInfoFlags store_info_flags = 0;
-       const gchar *flag;
-
-       g_return_val_if_fail (CAMEL_IS_IMAPX_LIST_RESPONSE (response), 0);
-
-       flag = CAMEL_IMAPX_LIST_ATTR_NOSELECT;
-       if (camel_imapx_list_response_has_attribute (response, flag))
-               store_info_flags |= CAMEL_STORE_INFO_FOLDER_NOSELECT;
-
-       flag = CAMEL_IMAPX_LIST_ATTR_NOINFERIORS;
-       if (camel_imapx_list_response_has_attribute (response, flag))
-               store_info_flags |= CAMEL_STORE_INFO_FOLDER_NOINFERIORS;
-
-       flag = CAMEL_IMAPX_LIST_ATTR_HASCHILDREN;
-       if (camel_imapx_list_response_has_attribute (response, flag))
-               store_info_flags |= CAMEL_STORE_INFO_FOLDER_CHILDREN;
-
-       flag = CAMEL_IMAPX_LIST_ATTR_HASNOCHILDREN;
-       if (camel_imapx_list_response_has_attribute (response, flag))
-               store_info_flags |= CAMEL_STORE_INFO_FOLDER_NOCHILDREN;
-
-       flag = CAMEL_IMAPX_LIST_ATTR_SUBSCRIBED;
-       if (camel_imapx_list_response_has_attribute (response, flag))
-               store_info_flags |= CAMEL_STORE_INFO_FOLDER_SUBSCRIBED;
-
-       /* XXX Does "\Marked" mean CAMEL_STORE_INFO_FOLDER_FLAGGED?
-        *     Who the heck knows; the enum value is undocumented. */
-
-       return store_info_flags;
-}
-
diff --git a/camel/camel-imapx-list-response.h b/camel/camel-imapx-list-response.h
index bdb00dd..e1c5fa9 100644
--- a/camel/camel-imapx-list-response.h
+++ b/camel/camel-imapx-list-response.h
@@ -24,7 +24,6 @@
 #define CAMEL_IMAPX_LIST_RESPONSE_H
 
 #include <gio/gio.h>
-#include <camel/camel-enums.h>
 #include <camel/camel-imapx-stream.h>
 
 /* Standard GObject macros */
@@ -123,9 +122,6 @@ GVariant *  camel_imapx_list_response_ref_extended_item
                                         const gchar *extended_item_tag);
 const gchar *  camel_imapx_list_response_get_oldname
                                        (CamelIMAPXListResponse *response);
-CamelStoreInfoFlags
-               camel_imapx_list_response_get_summary_flags
-                                       (CamelIMAPXListResponse *response);
 
 G_END_DECLS
 
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index d3ff520..954b833 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -852,7 +852,6 @@ camel_imapx_list_response_has_attribute
 camel_imapx_list_response_dup_attributes
 camel_imapx_list_response_ref_extended_item
 camel_imapx_list_response_get_oldname
-camel_imapx_list_response_get_summary_flags
 <SUBSECTION Standard>
 CAMEL_IMAPX_LIST_RESPONSE
 CAMEL_IS_IMAPX_LIST_RESPONSE


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