diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 02:12:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-02 22:34:11 +0800 |
commit | a5f7b4eef62959ededefbcb2e030f4801db74041 (patch) | |
tree | 5547adf69f52cf68cf03819961f825f08d46e7cf /mail | |
parent | aeefcadc778590ae8e1a7d0ae704fb5adf809815 (diff) | |
download | gsoc2013-evolution-a5f7b4eef62959ededefbcb2e030f4801db74041.tar.gz gsoc2013-evolution-a5f7b4eef62959ededefbcb2e030f4801db74041.tar.zst gsoc2013-evolution-a5f7b4eef62959ededefbcb2e030f4801db74041.zip |
Remove e_tree_new_from_spec_file().
Also remove e_tree_construct_from_spec_file().
Use e_tree_new() or e_tree_construct() instead.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/message-list.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index e5b1595a4f..2774ec690e 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -3356,6 +3356,7 @@ static void message_list_construct (MessageList *message_list) { ETreeTableAdapter *adapter; + ETableSpecification *specification; AtkObject *a11y; gboolean constructed; gchar *etspecfile; @@ -3365,11 +3366,15 @@ message_list_construct (MessageList *message_list) */ message_list->extras = message_list_create_extras (); - etspecfile = g_build_filename (EVOLUTION_ETSPECDIR, "message-list.etspec", NULL); - constructed = e_tree_construct_from_spec_file ( + etspecfile = g_build_filename ( + EVOLUTION_ETSPECDIR, "message-list.etspec", NULL); + specification = e_table_specification_new (); + e_table_specification_load_from_file (specification, etspecfile); + constructed = e_tree_construct ( E_TREE (message_list), E_TREE_MODEL (message_list), - message_list->extras, etspecfile); + message_list->extras, specification); + g_object_unref (specification); g_free (etspecfile); adapter = e_tree_get_table_adapter (E_TREE (message_list)); |