From 2ce22e2506d9e5d396b91bbe3fdbc5a623e1552d Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Fri, 5 Jul 2013 09:18:48 -0400 Subject: Remove unused gal_view_collection_set_default_view(). --- doc/reference/evolution-util/evolution-util-sections.txt | 1 - e-util/gal-view-collection.c | 10 ---------- e-util/gal-view-collection.h | 3 --- 3 files changed, 14 deletions(-) diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index b2d36fd7ea..88156b1b92 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4604,7 +4604,6 @@ gal_view_collection_load_view_from_file gal_view_collection_append_with_title gal_view_collection_set_nth_view gal_view_collection_get_default_view -gal_view_collection_set_default_view GAL_VIEW_COLLECTION GAL_IS_VIEW_COLLECTION diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c index ad3386f197..814f751659 100644 --- a/e-util/gal-view-collection.c +++ b/e-util/gal-view-collection.c @@ -702,13 +702,3 @@ gal_view_collection_get_default_view (GalViewCollection *collection) return collection->default_view; } -void -gal_view_collection_set_default_view (GalViewCollection *collection, - const gchar *id) -{ - g_free (collection->default_view); - collection->default_view = g_strdup (id); - gal_view_collection_changed (collection); - collection->default_view_built_in = FALSE; -} - diff --git a/e-util/gal-view-collection.h b/e-util/gal-view-collection.h index e169fe8946..3c32f8c3bd 100644 --- a/e-util/gal-view-collection.h +++ b/e-util/gal-view-collection.h @@ -149,9 +149,6 @@ const gchar * gal_view_collection_set_nth_view const gchar * gal_view_collection_get_default_view (GalViewCollection *collection); -void gal_view_collection_set_default_view - (GalViewCollection *collection, - const gchar *id); G_END_DECLS -- cgit v1.2.3