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



commit 1105d242c71fbff652a2de83e4533081c4c530cb
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 22 09:16:41 2013 -0400

    Remove unused camel_vee_folder_unlock().

 camel/camel-vee-folder.c                |   29 -----------------------------
 camel/camel-vee-folder.h                |    3 ---
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 33 deletions(-)
---
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index aeb4730..1d21dce 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -1704,32 +1704,3 @@ camel_vee_folder_ignore_next_changed_event (CamelVeeFolder *vfolder,
        g_rec_mutex_unlock (&vfolder->priv->changed_lock);
 }
 
-/**
- * camel_vee_folder_unlock:
- * @folder: a #CamelVeeFolder
- * @lock: lock type to unlock
- *
- * Unlocks @folder's @lock, previously locked with camel_vee_folder_lock().
- *
- * Since: 2.32
- **/
-void
-camel_vee_folder_unlock (CamelVeeFolder *folder,
-                         CamelVeeFolderLock lock)
-{
-       g_return_if_fail (CAMEL_IS_VEE_FOLDER (folder));
-
-       switch (lock) {
-               case CAMEL_VEE_FOLDER_SUMMARY_LOCK:
-                       g_rec_mutex_unlock (&folder->priv->summary_lock);
-                       break;
-               case CAMEL_VEE_FOLDER_SUBFOLDER_LOCK:
-                       g_rec_mutex_unlock (&folder->priv->subfolder_lock);
-                       break;
-               case CAMEL_VEE_FOLDER_CHANGED_LOCK:
-                       g_rec_mutex_unlock (&folder->priv->changed_lock);
-                       break;
-               default:
-                       g_return_if_reached ();
-       }
-}
diff --git a/camel/camel-vee-folder.h b/camel/camel-vee-folder.h
index 5a29764..55d645c 100644
--- a/camel/camel-vee-folder.h
+++ b/camel/camel-vee-folder.h
@@ -142,9 +142,6 @@ void                camel_vee_folder_ignore_next_changed_event
                                                        (CamelVeeFolder *vfolder,
                                                         CamelFolder *subfolder);
 
-void           camel_vee_folder_unlock                 (CamelVeeFolder *folder,
-                                                        CamelVeeFolderLock lock);
-
 G_END_DECLS
 
 #endif /* CAMEL_VEE_FOLDER_H */
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 22731dc..fce4eb0 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -2992,7 +2992,6 @@ camel_vee_folder_set_expression
 camel_vee_folder_get_expression
 camel_vee_folder_ignore_next_changed_event
 CamelVeeFolderLock
-camel_vee_folder_unlock
 <SUBSECTION Standard>
 CAMEL_VEE_FOLDER
 CAMEL_IS_VEE_FOLDER


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