aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-07-02 01:48:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-07-02 22:34:11 +0800
commitaeefcadc778590ae8e1a7d0ae704fb5adf809815 (patch)
tree027ceeac66e11b820160af0ae7132c9891270a0d /addressbook
parent67df30b17e196e0241cac79627b6e7ec79581438 (diff)
downloadgsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar.gz
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar.bz2
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar.lz
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar.xz
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.tar.zst
gsoc2013-evolution-aeefcadc778590ae8e1a7d0ae704fb5adf809815.zip
Remove e_table_new_from_spec_file().
Also remove e_table_construct_from_spec_file(). Use e_table_new() or e_table_construct() instead.
Diffstat (limited to 'addressbook')
-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);