diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 01:48:58 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:11 +0800 |
commit | aeefcadc778590ae8e1a7d0ae704fb5adf809815 (patch) | |
tree | 027ceeac66e11b820160af0ae7132c9891270a0d /calendar/gui/e-memo-table.c | |
parent | 67df30b17e196e0241cac79627b6e7ec79581438 (diff) | |
download | gsoc2013-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 'calendar/gui/e-memo-table.c')
-rw-r--r-- | calendar/gui/e-memo-table.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/e-memo-table.c b/calendar/gui/e-memo-table.c index 4f1a59ba7b..7537dc8130 100644 --- a/calendar/gui/e-memo-table.c +++ b/calendar/gui/e-memo-table.c @@ -329,6 +329,7 @@ memo_table_constructed (GObject *object) ECalModel *model; ECell *cell, *popup_cell; ETableExtras *extras; + ETableSpecification *specification; AtkObject *a11y; gchar *etspecfile; @@ -407,10 +408,13 @@ memo_table_constructed (GObject *object) etspecfile = g_build_filename ( EVOLUTION_ETSPECDIR, "e-memo-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 (memo_table), E_TABLE_MODEL (model), - extras, etspecfile); + extras, specification); + g_object_unref (specification); g_free (etspecfile); gtk_widget_set_has_tooltip (GTK_WIDGET (memo_table), TRUE); |