[evolution-data-server] Remove unused camel_data_wrapper_lock().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused camel_data_wrapper_lock().
- Date: Mon, 23 Sep 2013 16:07:18 +0000 (UTC)
commit 9c8549efa2e8235807e9b8983f1ddace402523ce
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Sep 22 07:58:41 2013 -0400
Remove unused camel_data_wrapper_lock().
camel/camel-data-wrapper.c | 24 ------------------------
camel/camel-data-wrapper.h | 2 --
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 27 deletions(-)
---
diff --git a/camel/camel-data-wrapper.c b/camel/camel-data-wrapper.c
index 438a0a5..430fdd0 100644
--- a/camel/camel-data-wrapper.c
+++ b/camel/camel-data-wrapper.c
@@ -657,30 +657,6 @@ camel_data_wrapper_is_offline (CamelDataWrapper *data_wrapper)
}
/**
- * camel_data_wrapper_lock:
- * @data_wrapper: a #CamelDataWrapper
- * @lock: lock type to lock
- *
- * Locks @data_wrapper's @lock. Unlock it with camel_data_wrapper_unlock().
- *
- * Since: 2.32
- **/
-void
-camel_data_wrapper_lock (CamelDataWrapper *data_wrapper,
- CamelDataWrapperLock lock)
-{
- g_return_if_fail (CAMEL_IS_DATA_WRAPPER (data_wrapper));
-
- switch (lock) {
- case CAMEL_DATA_WRAPPER_STREAM_LOCK:
- g_mutex_lock (&data_wrapper->priv->stream_lock);
- break;
- default:
- g_return_if_reached ();
- }
-}
-
-/**
* camel_data_wrapper_unlock:
* @data_wrapper: a #CamelDataWrapper
* @lock: lock type to unlock
diff --git a/camel/camel-data-wrapper.h b/camel/camel-data-wrapper.h
index 6772584..2c3ee98 100644
--- a/camel/camel-data-wrapper.h
+++ b/camel/camel-data-wrapper.h
@@ -158,8 +158,6 @@ void camel_data_wrapper_set_mime_type_field
(CamelDataWrapper *data_wrapper,
CamelContentType *mime_type);
gboolean camel_data_wrapper_is_offline (CamelDataWrapper *data_wrapper);
-void camel_data_wrapper_lock (CamelDataWrapper *data_wrapper,
- CamelDataWrapperLock lock);
void camel_data_wrapper_unlock (CamelDataWrapper *data_wrapper,
CamelDataWrapperLock lock);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 955ed99..873f955 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -233,7 +233,6 @@ camel_data_wrapper_construct_from_stream_sync
camel_data_wrapper_construct_from_stream
camel_data_wrapper_construct_from_stream_finish
CamelDataWrapperLock
-camel_data_wrapper_lock
camel_data_wrapper_unlock
<SUBSECTION Standard>
CAMEL_DATA_WRAPPER
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]