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(). --- e-util/gal-view-collection.c | 11 ----------- e-util/gal-view-collection.h | 3 --- 2 files changed, 14 deletions(-) (limited to 'e-util') 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