diff options
Diffstat (limited to 'modules/mail/e-mail-shell-view-private.c')
-rw-r--r-- | modules/mail/e-mail-shell-view-private.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c index 7779236e9e..7bb3043aae 100644 --- a/modules/mail/e-mail-shell-view-private.c +++ b/modules/mail/e-mail-shell-view-private.c @@ -542,30 +542,13 @@ mail_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); } |