aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-05 21:08:04 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:50 +0800
commit2996a0503bc07c825b321ca21296b5349362f5f0 (patch)
tree3dd9ceebf25f77f4fc74faed9e0ff1d67d67e902
parent535084860b08ef22c77988b4f430532cc3478841 (diff)
downloadgsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar.gz
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar.bz2
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar.lz
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar.xz
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.tar.zst
gsoc2013-evolution-2996a0503bc07c825b321ca21296b5349362f5f0.zip
Remove unused gal_view_collection_append().
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/gal-view-collection.c35
-rw-r--r--e-util/gal-view-collection.h2
3 files changed, 0 insertions, 38 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index fa5d2f0b37..5e9f04e47f 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_append
gal_view_collection_delete_view
gal_view_collection_copy_view
gal_view_collection_load
diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c
index 95d8fe3e9b..99601ef483 100644
--- a/e-util/gal-view-collection.c
+++ b/e-util/gal-view-collection.c
@@ -583,41 +583,6 @@ gal_view_collection_get_view_index_by_id (GalViewCollection *collection,
}
void
-gal_view_collection_append (GalViewCollection *collection,
- GalView *view)
-{
- GalViewCollectionItem *item;
- GalViewClass *view_class;
-
- g_return_if_fail (GAL_IS_VIEW_COLLECTION (collection));
- g_return_if_fail (GAL_IS_VIEW (view));
-
- view_class = GAL_VIEW_GET_CLASS (view);
-
- item = g_new (GalViewCollectionItem, 1);
- item->ever_changed = TRUE;
- item->changed = TRUE;
- item->built_in = FALSE;
- item->title = g_strdup (gal_view_get_title (view));
- item->type = g_strdup (view_class->type_code);
- item->id = gal_view_generate_id (collection, view);
- item->filename = g_strdup_printf ("%s.galview", item->id);
- item->view = view;
- item->collection = collection;
- g_object_ref (view);
-
- item->view_changed_id = g_signal_connect (
- item->view, "changed",
- G_CALLBACK (view_changed), item);
-
- collection->view_data = g_renew (GalViewCollectionItem *, collection->view_data, collection->view_count + 1);
- collection->view_data[collection->view_count] = item;
- collection->view_count++;
-
- gal_view_collection_changed (collection);
-}
-
-void
gal_view_collection_delete_view (GalViewCollection *collection,
gint i)
{
diff --git a/e-util/gal-view-collection.h b/e-util/gal-view-collection.h
index 7af8f2ea37..b99f734922 100644
--- a/e-util/gal-view-collection.h
+++ b/e-util/gal-view-collection.h
@@ -121,8 +121,6 @@ gint gal_view_collection_get_view_index_by_id
const gchar *view_id);
/* Manipulate the view collection */
-void gal_view_collection_append (GalViewCollection *collection,
- GalView *view);
void gal_view_collection_delete_view (GalViewCollection *collection,
gint i);
void gal_view_collection_copy_view (GalViewCollection *collection,