diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-20 23:57:41 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:52 +0800 |
commit | 68b0b1022158a2442fffdd67820c1576adfdb9b0 (patch) | |
tree | eb21c7da9161518e477263adf8d367d8e4610226 /mail | |
parent | ebcb25def12302eca4c79e995533bb7a19be4a01 (diff) | |
download | gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar.gz gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar.bz2 gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar.lz gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar.xz gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.tar.zst gsoc2013-evolution-68b0b1022158a2442fffdd67820c1576adfdb9b0.zip |
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);
Diffstat (limited to 'mail')
-rw-r--r-- | mail/message-list.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |