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



commit 6c998df9f7fa9b609c85679f00139cc70f1264b7
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Oct 1 22:34:01 2013 -0400

    Remove unused camel_index_name_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 6fedd00..5524221 100644
--- a/camel/camel-index.c
+++ b/camel/camel-index.c
@@ -378,18 +378,6 @@ camel_index_name_init (CamelIndexName *index_name)
 {
 }
 
-CamelIndexName *
-camel_index_name_new (CamelIndex *idx,
-                      const gchar *name)
-{
-       CamelIndexName *idn;
-
-       idn = g_object_new (CAMEL_TYPE_INDEX_NAME, NULL);
-       idn->index = g_object_ref (idx);
-
-       return idn;
-}
-
 void
 camel_index_name_add_word (CamelIndexName *idn,
                            const gchar *word)
diff --git a/camel/camel-index.h b/camel/camel-index.h
index 64c8a43..e4b3218 100644
--- a/camel/camel-index.h
+++ b/camel/camel-index.h
@@ -139,9 +139,6 @@ struct _CamelIndexNameClass {
 };
 
 GType           camel_index_name_get_type      (void);
-
-CamelIndexName    *camel_index_name_new (CamelIndex *index, const gchar *name);
-
 void               camel_index_name_add_word (CamelIndexName *name, const gchar *word);
 gsize             camel_index_name_add_buffer (CamelIndexName *name, const gchar *buffer, gsize len);
 
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index cdb1309..ec916b0 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1125,7 +1125,6 @@ CamelIndexNorm
 CamelIndexCursor
 camel_index_cursor_next
 CamelIndexName
-camel_index_name_new
 camel_index_name_add_word
 camel_index_name_add_buffer
 CAMEL_INDEX_DELETED


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