aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-05 21:05:51 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commit535084860b08ef22c77988b4f430532cc3478841 (patch)
tree554c51f63353919f0f9a48512d0719075689601c
parent562c54612f15f9bb2ccce53c9fb0e3e972dfe957 (diff)
downloadgsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar.gz
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar.bz2
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar.lz
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar.xz
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.tar.zst
gsoc2013-evolution-535084860b08ef22c77988b4f430532cc3478841.zip
Remove unused gal_view_collection_get_view_id_by_index().
-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,