aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-task-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-task-table.c')
-rw-r--r--calendar/gui/e-task-table.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/e-task-table.c b/calendar/gui/e-task-table.c
index 7672835989..e0e817ec48 100644
--- a/calendar/gui/e-task-table.c
+++ b/calendar/gui/e-task-table.c
@@ -455,6 +455,7 @@ task_table_constructed (GObject *object)
ECalModel *model;
ECell *cell, *popup_cell;
ETableExtras *extras;
+ ETableSpecification *specification;
GList *strings;
AtkObject *a11y;
gchar *etspecfile;
@@ -694,10 +695,13 @@ task_table_constructed (GObject *object)
etspecfile = g_build_filename (
EVOLUTION_ETSPECDIR, "e-calendar-table.etspec", NULL);
- e_table_construct_from_spec_file (
+ specification = e_table_specification_new ();
+ e_table_specification_load_from_file (specification, etspecfile);
+ e_table_construct (
E_TABLE (task_table),
E_TABLE_MODEL (model),
- extras, etspecfile);
+ extras, specification);
+ g_object_unref (specification);
g_free (etspecfile);
gtk_widget_set_has_tooltip (GTK_WIDGET (task_table), TRUE);