aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar/e-memo-shell-view-private.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/calendar/e-memo-shell-view-private.c')
-rw-r--r--modules/calendar/e-memo-shell-view-private.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/modules/calendar/e-memo-shell-view-private.c b/modules/calendar/e-memo-shell-view-private.c
index 78d636027a..26c43e1450 100644
--- a/modules/calendar/e-memo-shell-view-private.c
+++ b/modules/calendar/e-memo-shell-view-private.c
@@ -126,30 +126,13 @@ memo_shell_view_load_view_collection (EShellViewClass *shell_view_class)
{
GalViewCollection *collection;
GalViewFactory *factory;
- ETableSpecification *spec;
- const gchar *base_dir;
- gchar *filename;
- GError *local_error = NULL;
collection = shell_view_class->view_collection;
- base_dir = EVOLUTION_ETSPECDIR;
- filename = g_build_filename (base_dir, ETSPEC_FILENAME, NULL);
- spec = e_table_specification_new (filename, &local_error);
-
- /* Failure here is fatal. */
- if (local_error != NULL) {
- g_error ("%s: %s", filename, local_error->message);
- g_assert_not_reached ();
- }
-
- factory = gal_view_factory_etable_new (spec);
+ factory = gal_view_factory_etable_new ();
gal_view_collection_add_factory (collection, factory);
g_object_unref (factory);
- g_object_unref (spec);
- g_free (filename);
-
gal_view_collection_load (collection);
}