[evolution] Remove unused gal_view_collection_set_default_view().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused gal_view_collection_set_default_view().
- Date: Fri, 5 Jul 2013 20:42:44 +0000 (UTC)
commit 2ce22e2506d9e5d396b91bbe3fdbc5a623e1552d
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri Jul 5 09:18:48 2013 -0400
Remove unused gal_view_collection_set_default_view().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/gal-view-collection.c | 10 ----------
e-util/gal-view-collection.h | 3 ---
3 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt
b/doc/reference/evolution-util/evolution-util-sections.txt
index b2d36fd..88156b1 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
<SUBSECTION Standard>
GAL_VIEW_COLLECTION
GAL_IS_VIEW_COLLECTION
diff --git a/e-util/gal-view-collection.c b/e-util/gal-view-collection.c
index ad3386f..814f751 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 e169fe8..3c32f8c 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]