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



commit fc5e09d0bf78e7d48c8da4afc180cf14181c98fa
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Sep 22 09:03:33 2013 -0400

    Remove unused camel_transport_unlock().

 camel/camel-transport.c                 |   24 ------------------------
 camel/camel-transport.h                 |    3 ---
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/camel/camel-transport.c b/camel/camel-transport.c
index f38f8e5..66dd0b0 100644
--- a/camel/camel-transport.c
+++ b/camel/camel-transport.c
@@ -170,30 +170,6 @@ camel_transport_init (CamelTransport *transport)
 }
 
 /**
- * camel_transport_unlock:
- * @transport: a #CamelTransport
- * @lock: lock type to unlock
- *
- * Unlocks %transport's %lock, previously locked with camel_transport_lock().
- *
- * Since: 2.32
- **/
-void
-camel_transport_unlock (CamelTransport *transport,
-                        CamelTransportLock lock)
-{
-       g_return_if_fail (CAMEL_IS_TRANSPORT (transport));
-
-       switch (lock) {
-               case CAMEL_TRANSPORT_SEND_LOCK:
-                       g_mutex_unlock (&transport->priv->send_lock);
-                       break;
-               default:
-                       g_return_if_reached ();
-       }
-}
-
-/**
  * camel_transport_send_to_sync:
  * @transport: a #CamelTransport
  * @message: a #CamelMimeMessage to send
diff --git a/camel/camel-transport.h b/camel/camel-transport.h
index 04103aa..c70c52b 100644
--- a/camel/camel-transport.h
+++ b/camel/camel-transport.h
@@ -99,9 +99,6 @@ struct _CamelTransportClass {
 };
 
 GType          camel_transport_get_type        (void);
-void           camel_transport_unlock          (CamelTransport *transport,
-                                                CamelTransportLock lock);
-
 gboolean       camel_transport_send_to_sync    (CamelTransport *transport,
                                                 CamelMimeMessage *message,
                                                 CamelAddress *from,
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index f39ae06..317dc20 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -2921,7 +2921,6 @@ CamelTextIndexNamePrivate
 <TITLE>CamelTransport</TITLE>
 CamelTransport
 CamelTransportLock
-camel_transport_unlock
 camel_transport_send_to_sync
 camel_transport_send_to
 camel_transport_send_to_finish


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