From 535084860b08ef22c77988b4f430532cc3478841 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 5 Jul 2013 09:05:51 -0400 Subject: Remove unused gal_view_collection_get_view_id_by_index(). --- doc/reference/evolution-util/evolution-util-sections.txt | 1 - e-util/gal-view-collection.c | 11 ----------- e-util/gal-view-collection.h | 3 --- 3 files changed, 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, -- cgit v1.2.3