[evolution-data-server] Remove unused CAMEL_FOLDER_CHANGE_LOCK.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution-data-server] Remove unused CAMEL_FOLDER_CHANGE_LOCK.
- Date: Mon, 23 Sep 2013 16:08:34 +0000 (UTC)
commit b521ceefb0e37170318f40d69c512de8f27db4c0
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 22 09:31:31 2013 -0400
    Remove unused CAMEL_FOLDER_CHANGE_LOCK.
 camel/camel-folder.c |    6 ------
 camel/camel-folder.h |    1 -
 2 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 5e19d42..ce5e2a5 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -3356,9 +3356,6 @@ camel_folder_lock (CamelFolder *folder,
        g_return_if_fail (CAMEL_IS_FOLDER (folder));
 
        switch (lock) {
-               case CAMEL_FOLDER_CHANGE_LOCK:
-                       g_mutex_lock (&folder->priv->change_lock);
-                       break;
                case CAMEL_FOLDER_REC_LOCK:
                        if (folder->priv->skip_folder_lock == FALSE)
                                g_rec_mutex_lock (&folder->priv->lock);
@@ -3384,9 +3381,6 @@ camel_folder_unlock (CamelFolder *folder,
        g_return_if_fail (CAMEL_IS_FOLDER (folder));
 
        switch (lock) {
-               case CAMEL_FOLDER_CHANGE_LOCK:
-                       g_mutex_unlock (&folder->priv->change_lock);
-                       break;
                case CAMEL_FOLDER_REC_LOCK:
                        if (folder->priv->skip_folder_lock == FALSE)
                                g_rec_mutex_unlock (&folder->priv->lock);
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 6ec24da..1e25b80 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -102,7 +102,6 @@ typedef enum {
  * Since: 2.32
  **/
 typedef enum {
-       CAMEL_FOLDER_CHANGE_LOCK,
        CAMEL_FOLDER_REC_LOCK
 } CamelFolderLock;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]