Remove unused camel_index_name_new().
authorMatthew Barnes <mbarnes@redhat.com>
Wed, 2 Oct 2013 02:34:01 +0000 (22:34 -0400)
committerMatthew Barnes <mbarnes@redhat.com>
Wed, 2 Oct 2013 02:34:01 +0000 (22:34 -0400)
camel/camel-index.c
camel/camel-index.h
docs/reference/camel/camel-sections.txt

index 6fedd00..5524221 100644 (file)
@@ -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)
index 64c8a43..e4b3218 100644 (file)
@@ -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);
 
index cdb1309..ec916b0 100644 (file)
@@ -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