aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/gal-view-collection.c11
-rw-r--r--e-util/gal-view-collection.h3
3 files changed, 0 insertions, 15 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 104982606c..fa5d2f0b37 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4596,7 +4596,6 @@ gal_view_collection_get_count
gal_view_collection_get_view
gal_view_collection_get_view_item
gal_view_collection_get_view_index_by_id
-gal_view_collection_get_view_id_by_index
gal_view_collection_append
gal_view_collection_delete_view
gal_view_collection_copy_view
diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c
index 0e305309c1..95d8fe3e9b 100644
--- a/e-util/gal-view-collection.c
+++ b/e-util/gal-view-collection.c
@@ -582,17 +582,6 @@ gal_view_collection_get_view_index_by_id (GalViewCollection *collection,
return -1;
}
-gchar *
-gal_view_collection_get_view_id_by_index (GalViewCollection *collection,
- gint n)
-{
- g_return_val_if_fail (GAL_IS_VIEW_COLLECTION (collection), NULL);
- g_return_val_if_fail (n < collection->view_count, NULL);
- g_return_val_if_fail (n >= 0, NULL);
-
- return g_strdup (collection->view_data[n]->id);
-}
-
void
gal_view_collection_append (GalViewCollection *collection,
GalView *view)
diff --git a/e-util/gal-view-collection.h b/e-util/gal-view-collection.h
index 4e91075e1f..7af8f2ea37 100644
--- a/e-util/gal-view-collection.h
+++ b/e-util/gal-view-collection.h
@@ -119,9 +119,6 @@ GalViewCollectionItem *
gint gal_view_collection_get_view_index_by_id
(GalViewCollection *collection,
const gchar *view_id);
-gchar * gal_view_collection_get_view_id_by_index
- (GalViewCollection *collection,
- gint n);
/* Manipulate the view collection */
void gal_view_collection_append (GalViewCollection *collection,