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



commit 47cd4628306fa7cc04313ba76e7c379dfdfeaa00
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Oct 1 22:28:59 2013 -0400

    Remove unused camel_index_cursor_new().

 camel/camel-index.c                     |   12 ------------
 camel/camel-index.h                     |    3 ---
 docs/reference/camel/camel-sections.txt |    1 -
 3 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/camel/camel-index.c b/camel/camel-index.c
index 14a5f67..39ad928 100644
--- a/camel/camel-index.c
+++ b/camel/camel-index.c
@@ -460,18 +460,6 @@ camel_index_cursor_init (CamelIndexCursor *index_cursor)
 {
 }
 
-CamelIndexCursor *
-camel_index_cursor_new (CamelIndex *idx,
-                        const gchar *name)
-{
-       CamelIndexCursor *idc;
-
-       idc = g_object_new (CAMEL_TYPE_INDEX_CURSOR, NULL);
-       idc->index = g_object_ref (idx);
-
-       return idc;
-}
-
 const gchar *
 camel_index_cursor_next (CamelIndexCursor *idc)
 {
diff --git a/camel/camel-index.h b/camel/camel-index.h
index a62e9c9..a851aec 100644
--- a/camel/camel-index.h
+++ b/camel/camel-index.h
@@ -115,9 +115,6 @@ struct _CamelIndexCursorClass {
 };
 
 GType           camel_index_cursor_get_type (void);
-
-CamelIndexCursor  *camel_index_cursor_new (CamelIndex *index, const gchar *name);
-
 const gchar        *camel_index_cursor_next (CamelIndexCursor *idc);
 void               camel_index_cursor_reset (CamelIndexCursor *idc);
 
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 707a8d9..fabc7b8 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1123,7 +1123,6 @@ camel_imapx_summary_get_type
 CamelIndex
 CamelIndexNorm
 CamelIndexCursor
-camel_index_cursor_new
 camel_index_cursor_next
 camel_index_cursor_reset
 CamelIndexName


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