aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/e-addressbook-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index 33999ef702..1bbbe04882 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -288,6 +288,7 @@ addressbook_view_create_table_view (EAddressbookView *view,
{
ETableModel *adapter;
ETableExtras *extras;
+ ETableSpecification *specification;
ECell *cell;
GtkWidget *widget;
gchar *etspecfile;
@@ -305,8 +306,13 @@ addressbook_view_create_table_view (EAddressbookView *view,
* initial layout. It does the rest. */
etspecfile = g_build_filename (
EVOLUTION_ETSPECDIR, "e-addressbook-view.etspec", NULL);
- widget = e_table_new_from_spec_file (adapter, extras, etspecfile);
+ specification = e_table_specification_new ();
+ e_table_specification_load_from_file (specification, etspecfile);
+
+ widget = e_table_new (adapter, extras, specification);
gtk_container_add (GTK_CONTAINER (view), widget);
+
+ g_object_unref (specification);
g_free (etspecfile);
view->priv->object = G_OBJECT (adapter);