aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/calendar-view-factory.c2
-rw-r--r--calendar/gui/gnome-cal.c4
2 files changed, 0 insertions, 6 deletions
diff --git a/calendar/gui/calendar-view-factory.c b/calendar/gui/calendar-view-factory.c
index 4c3f83572d..f8d2d92ce3 100644
--- a/calendar/gui/calendar-view-factory.c
+++ b/calendar/gui/calendar-view-factory.c
@@ -173,8 +173,6 @@ calendar_view_factory_new_view (GalViewFactory *factory, const char *name)
priv = cal_view_factory->priv;
cal_view = calendar_view_new (priv->view_type, name);
- gal_view_set_built_in (GAL_VIEW (cal_view), TRUE);
-
return GAL_VIEW (cal_view);
}
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index dc43fcdf45..034c0be1bd 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -1822,7 +1822,6 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic)
/* Create the view instance */
if (collection == NULL) {
ETableSpecification *spec;
- GalView *view;
collection = gal_view_collection_new ();
@@ -1864,9 +1863,6 @@ gnome_calendar_setup_view_menus (GnomeCalendar *gcal, BonoboUIComponent *uic)
gal_view_collection_load (collection);
- view = gal_view_collection_get_view (collection, gal_view_collection_get_view_index_by_id (collection, "List_View"));
- if (view)
- gal_view_set_built_in (view, TRUE);
}
priv->view_instance = gal_view_instance_new (collection, NULL);