aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-03 19:58:31 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-06 04:40:49 +0800
commit2b9713656b939ec657b8d77932a2a7d147aa1f23 (patch)
treefc4b329f387d5c32f05ac1f3f48a29d6369f7610 /modules/addressbook
parenta242a2c172878853755efa496b717f867abdd2f8 (diff)
downloadgsoc2013-evolution-2b9713656b939ec657b8d77932a2a7d147aa1f23.tar.gz
gsoc2013-evolution-2b9713656b939ec657b8d77932a2a7d147aa1f23.tar.zst
gsoc2013-evolution-2b9713656b939ec657b8d77932a2a7d147aa1f23.zip
GalViewFactoryEtable: Remove "specification" property.
No longer needed. Removed functions: gal_view_factory_etable_get_specification()
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-private.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/modules/addressbook/e-book-shell-view-private.c b/modules/addressbook/e-book-shell-view-private.c
index eb7f3e074c..79112202f2 100644
--- a/modules/addressbook/e-book-shell-view-private.c
+++ b/modules/addressbook/e-book-shell-view-private.c
@@ -460,30 +460,13 @@ book_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);
-
factory = gal_view_factory_minicard_new ();
gal_view_collection_add_factory (collection, factory);
g_object_unref (factory);