[evolution] Remove unused gal_view_collection_get_view_id_by_index().



commit 535084860b08ef22c77988b4f430532cc3478841
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jul 5 09:05:51 2013 -0400

    Remove unused gal_view_collection_get_view_id_by_index().

 .../evolution-util/evolution-util-sections.txt     |    1 -
 e-util/gal-view-collection.c                       |   11 -----------
 e-util/gal-view-collection.h                       |    3 ---
 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 1049826..fa5d2f0 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 0e30530..95d8fe3 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 4e91075..7af8f2e 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,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]