From 68b0b1022158a2442fffdd67820c1576adfdb9b0 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 20 Jun 2013 11:57:41 -0400 Subject: Remove e_tree_load_expanded_state_xml(). Reducing API bloat. Do this instead: adapter = e_tree_get_table_adapter (tree); e_tree_table_adapter_load_expanded_state_xml (adapter, xml); --- mail/message-list.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/message-list.c b/mail/message-list.c index a27eaaf06f..c6bde53bf8 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1979,9 +1979,9 @@ load_tree_state (MessageList *message_list, adapter = e_tree_get_table_adapter (E_TREE (message_list)); - if (expand_state) { - e_tree_load_expanded_state_xml ( - E_TREE (message_list), expand_state); + if (expand_state != NULL) { + e_tree_table_adapter_load_expanded_state_xml ( + adapter, expand_state); } else if (!message_list->search || !*message_list->search) { /* only when not searching */ gchar *filename; -- cgit