[evolution-data-server/evolution-data-server-3-12] Remove unused imapx_unmark_folder_subscribed()



commit 4615a98c7be1e3f8d23aa8a1c4f43b9d1fb62712
Author: Milan Crha <mcrha redhat com>
Date:   Fri Apr 25 08:33:48 2014 +0200

    Remove unused imapx_unmark_folder_subscribed()
    
    I overlooked to remove it in one of the previous related commits.

 camel/providers/imapx/camel-imapx-store.c |   28 ----------------------------
 1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-store.c b/camel/providers/imapx/camel-imapx-store.c
index 8bd0c9d..ff941e6 100644
--- a/camel/providers/imapx/camel-imapx-store.c
+++ b/camel/providers/imapx/camel-imapx-store.c
@@ -946,34 +946,6 @@ fill_fi (CamelStore *store,
 }
 
 static void
-imapx_unmark_folder_subscribed (CamelIMAPXStore *imapx_store,
-                                const gchar *folder_path,
-                                gboolean emit_signal)
-{
-       CamelStoreInfo *si;
-
-       si = camel_store_summary_path (imapx_store->summary, folder_path);
-       if (si != NULL) {
-               if (si->flags & CAMEL_STORE_INFO_FOLDER_SUBSCRIBED) {
-                       si->flags &= ~CAMEL_STORE_INFO_FOLDER_SUBSCRIBED;
-                       camel_store_summary_touch (imapx_store->summary);
-                       camel_store_summary_save (imapx_store->summary);
-               }
-               camel_store_summary_info_unref (imapx_store->summary, si);
-       }
-
-       if (emit_signal) {
-               CamelFolderInfo *fi;
-
-               fi = imapx_store_build_folder_info (
-                       imapx_store, folder_path, 0);
-               camel_subscribable_folder_unsubscribed (
-                       CAMEL_SUBSCRIBABLE (imapx_store), fi);
-               camel_folder_info_free (fi);
-       }
-}
-
-static void
 imapx_delete_folder_from_cache (CamelIMAPXStore *imapx_store,
                                 const gchar *folder_path)
 {


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