Remove unused camel_vee_folder_lock().
authorMatthew Barnes <mbarnes@redhat.com>
Sun, 22 Sep 2013 13:16:14 +0000 (09:16 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Mon, 23 Sep 2013 16:03:10 +0000 (12:03 -0400)
camel/camel-vee-folder.c
camel/camel-vee-folder.h
docs/reference/camel/camel-sections.txt

index bce6689..aeb4730 100644 (file)
@@ -1705,36 +1705,6 @@ camel_vee_folder_ignore_next_changed_event (CamelVeeFolder *vfolder,
 }
 
 /**
- * camel_vee_folder_lock:
- * @folder: a #CamelVeeFolder
- * @lock: lock type to lock
- *
- * Locks @folder's @lock. Unlock it with camel_vee_folder_unlock().
- *
- * Since: 2.32
- **/
-void
-camel_vee_folder_lock (CamelVeeFolder *folder,
-                       CamelVeeFolderLock lock)
-{
-       g_return_if_fail (CAMEL_IS_VEE_FOLDER (folder));
-
-       switch (lock) {
-               case CAMEL_VEE_FOLDER_SUMMARY_LOCK:
-                       g_rec_mutex_lock (&folder->priv->summary_lock);
-                       break;
-               case CAMEL_VEE_FOLDER_SUBFOLDER_LOCK:
-                       g_rec_mutex_lock (&folder->priv->subfolder_lock);
-                       break;
-               case CAMEL_VEE_FOLDER_CHANGED_LOCK:
-                       g_rec_mutex_lock (&folder->priv->changed_lock);
-                       break;
-               default:
-                       g_return_if_reached ();
-       }
-}
-
-/**
  * camel_vee_folder_unlock:
  * @folder: a #CamelVeeFolder
  * @lock: lock type to unlock
index ea452ef..5a29764 100644 (file)
@@ -142,8 +142,6 @@ void                camel_vee_folder_ignore_next_changed_event
                                                        (CamelVeeFolder *vfolder,
                                                         CamelFolder *subfolder);
 
-void           camel_vee_folder_lock                   (CamelVeeFolder *folder,
-                                                        CamelVeeFolderLock lock);
 void           camel_vee_folder_unlock                 (CamelVeeFolder *folder,
                                                         CamelVeeFolderLock lock);
 
index 95c134b..22731dc 100644 (file)
@@ -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_lock
 camel_vee_folder_unlock
 <SUBSECTION Standard>
 CAMEL_VEE_FOLDER