[evolution-data-server] Remove unused camel_index_names().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused camel_index_names().
- Date: Wed, 2 Oct 2013 02:51:26 +0000 (UTC)
commit 69d36605f13c805d02621122bdeb8b32142080e7
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Oct 1 22:39:01 2013 -0400
Remove unused camel_index_names().
camel/camel-index.c | 16 ----------------
camel/camel-index.h | 4 ----
camel/camel-text-index.c | 9 ---------
docs/reference/camel/camel-sections.txt | 1 -
4 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/camel/camel-index.c b/camel/camel-index.c
index 521543e..16813d9 100644
--- a/camel/camel-index.c
+++ b/camel/camel-index.c
@@ -316,22 +316,6 @@ camel_index_words (CamelIndex *idx)
return NULL;
}
-CamelIndexCursor *
-camel_index_names (CamelIndex *idx)
-{
- CamelIndexClass *class;
-
- g_return_val_if_fail (CAMEL_IS_INDEX (idx), NULL);
-
- class = CAMEL_INDEX_GET_CLASS (idx);
- g_return_val_if_fail (class->names != NULL, NULL);
-
- if ((idx->state & CAMEL_INDEX_DELETED) == 0)
- return class->names (idx);
- else
- return NULL;
-}
-
/* ********************************************************************** */
/* CamelIndexName */
/* ********************************************************************** */
diff --git a/camel/camel-index.h b/camel/camel-index.h
index d02b1f8..7c729c0 100644
--- a/camel/camel-index.h
+++ b/camel/camel-index.h
@@ -180,8 +180,6 @@ struct _CamelIndexClass {
const gchar *word);
CamelIndexCursor *
(*words) (CamelIndex *index);
- CamelIndexCursor *
- (*names) (CamelIndex *index);
};
/* flags, stored in 'state', set with set_state */
@@ -215,8 +213,6 @@ CamelIndexCursor *
const gchar *word);
CamelIndexCursor *
camel_index_words (CamelIndex *index);
-CamelIndexCursor *
- camel_index_names (CamelIndex *index);
G_END_DECLS
diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c
index 459c249..1cc5a79 100644
--- a/camel/camel-text-index.c
+++ b/camel/camel-text-index.c
@@ -811,14 +811,6 @@ text_index_words (CamelIndex *idx)
return (CamelIndexCursor *) camel_text_index_key_cursor_new ((CamelTextIndex *) idx, p->word_index);
}
-static CamelIndexCursor *
-text_index_names (CamelIndex *idx)
-{
- CamelTextIndexPrivate *p = CAMEL_TEXT_INDEX_GET_PRIVATE (idx);
-
- return (CamelIndexCursor *) camel_text_index_key_cursor_new ((CamelTextIndex *) idx, p->name_index);
-}
-
static void
camel_text_index_class_init (CamelTextIndexClass *class)
{
@@ -843,7 +835,6 @@ camel_text_index_class_init (CamelTextIndexClass *class)
index_class->delete_name = text_index_delete_name;
index_class->find = text_index_find;
index_class->words = text_index_words;
- index_class->names = text_index_names;
}
static void
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index 43846de..52b3563 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1141,7 +1141,6 @@ camel_index_find_name
camel_index_delete_name
camel_index_find
camel_index_words
-camel_index_names
<SUBSECTION Standard>
CAMEL_INDEX
CAMEL_IS_INDEX
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]