[evolution-data-server] Remove unused camel_index_new().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Remove unused camel_index_new().
- Date: Wed, 2 Oct 2013 02:51:21 +0000 (UTC)
commit d2b0e06d6492099b7288229e7d3dd0f701d8ea6b
Author: Matthew Barnes <mbarnes redhat com>
Date: Tue Oct 1 22:35:58 2013 -0400
Remove unused camel_index_new().
camel/camel-index.c | 12 ------------
camel/camel-index.h | 2 --
docs/reference/camel/camel-sections.txt | 1 -
3 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/camel/camel-index.c b/camel/camel-index.c
index 5524221..521543e 100644
--- a/camel/camel-index.c
+++ b/camel/camel-index.c
@@ -82,18 +82,6 @@ camel_index_init (CamelIndex *index)
index->version = CAMEL_INDEX_VERSION;
}
-CamelIndex *
-camel_index_new (const gchar *path,
- gint flags)
-{
- CamelIndex *idx;
-
- idx = g_object_new (CAMEL_TYPE_INDEX, NULL);
- camel_index_construct (idx, path, flags);
-
- return idx;
-}
-
void
camel_index_construct (CamelIndex *idx,
const gchar *path,
diff --git a/camel/camel-index.h b/camel/camel-index.h
index 090e891..d02b1f8 100644
--- a/camel/camel-index.h
+++ b/camel/camel-index.h
@@ -188,8 +188,6 @@ struct _CamelIndexClass {
#define CAMEL_INDEX_DELETED (1 << 0)
GType camel_index_get_type (void);
-CamelIndex * camel_index_new (const gchar *path,
- gint flags);
void camel_index_construct (CamelIndex *index,
const gchar *path,
gint flags);
diff --git a/docs/reference/camel/camel-sections.txt b/docs/reference/camel/camel-sections.txt
index ec916b0..43846de 100644
--- a/docs/reference/camel/camel-sections.txt
+++ b/docs/reference/camel/camel-sections.txt
@@ -1128,7 +1128,6 @@ CamelIndexName
camel_index_name_add_word
camel_index_name_add_buffer
CAMEL_INDEX_DELETED
-camel_index_new
camel_index_construct
camel_index_rename
camel_index_set_normalize
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]