[evolution-data-server] Remove camel_store_summary_index().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove camel_store_summary_index().
- Date: Fri, 16 Aug 2013 19:43:30 +0000 (UTC)
commit 6e8150b3c500d8bf323309a148f16133c391470c
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Aug 16 15:23:13 2013 -0400
Remove camel_store_summary_index().
No longer used.
camel/camel-store-summary.c | 33 -------------------------------
camel/camel-store-summary.h | 3 --
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 37 deletions(-)
---
diff --git a/camel/camel-store-summary.c b/camel/camel-store-summary.c
index 3134142..d4c2d1a 100644
--- a/camel/camel-store-summary.c
+++ b/camel/camel-store-summary.c
@@ -350,39 +350,6 @@ camel_store_summary_count (CamelStoreSummary *summary)
}
/**
- * camel_store_summary_index:
- * @summary: a #CamelStoreSummary object
- * @index: record index
- *
- * Retrieve a summary item by index number.
- *
- * The returned #CamelStoreInfo is referenced for thread-safety and should be
- * unreferenced with camel_store_summary_info_unref() when finished with it.
- *
- * Returns: the summary item, or %NULL if @index is out of range
- **/
-CamelStoreInfo *
-camel_store_summary_index (CamelStoreSummary *summary,
- gint i)
-{
- CamelStoreInfo *info = NULL;
-
- g_return_val_if_fail (CAMEL_IS_STORE_SUMMARY (summary), NULL);
-
- camel_store_summary_lock (summary, CAMEL_STORE_SUMMARY_SUMMARY_LOCK);
-
- if (i < summary->folders->len)
- info = g_ptr_array_index (summary->folders, i);
-
- if (info != NULL)
- camel_store_summary_info_ref (summary, info);
-
- camel_store_summary_unlock (summary, CAMEL_STORE_SUMMARY_SUMMARY_LOCK);
-
- return info;
-}
-
-/**
* camel_store_summary_array:
* @summary: a #CamelStoreSummary object
*
diff --git a/camel/camel-store-summary.h b/camel/camel-store-summary.h
index 5c9959e..384501e 100644
--- a/camel/camel-store-summary.h
+++ b/camel/camel-store-summary.h
@@ -185,9 +185,6 @@ void camel_store_summary_remove_path (CamelStoreSummary *summary,
/* lookup functions */
gint camel_store_summary_count (CamelStoreSummary *summary);
CamelStoreInfo *
- camel_store_summary_index (CamelStoreSummary *summary,
- gint index);
-CamelStoreInfo *
camel_store_summary_path (CamelStoreSummary *summary,
const gchar *path);
GPtrArray * camel_store_summary_array (CamelStoreSummary *summary);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 3b36de2..3a2ea4c 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -2596,7 +2596,6 @@ camel_store_summary_info_free
camel_store_summary_remove
camel_store_summary_remove_path
camel_store_summary_count
-camel_store_summary_index
camel_store_summary_path
camel_store_summary_array
camel_store_summary_array_free
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]