aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-20 23:54:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:52 +0800
commitebcb25def12302eca4c79e995533bb7a19be4a01 (patch)
tree58d2bb1fd02c847a787b5f08d6ee204f5d736c87 /mail
parent40da203f43caf0b2b4e49f20dbfa3b318a6b3e9f (diff)
downloadgsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar.gz
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar.bz2
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar.lz
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar.xz
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.tar.zst
gsoc2013-evolution-ebcb25def12302eca4c79e995533bb7a19be4a01.zip
Remove e_tree_save_expanded_state_xml().
Reducing API bloat. Do this instead: adapter = e_tree_get_table_adapter (tree); xml = e_tree_table_adapter_save_expanded_state_xml (adapter);
Diffstat (limited to 'mail')
-rw-r--r--mail/message-list.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/message-list.c b/mail/message-list.c
index 97e0d053e5..a27eaaf06f 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -397,6 +397,10 @@ regen_data_new (MessageList *message_list,
!message_list->just_set_folder &&
!searching) {
+ ETreeTableAdapter *adapter;
+
+ adapter = e_tree_get_table_adapter (E_TREE (message_list));
+
if (message_list->priv->any_row_changed) {
/* Something changed. If it was an expand
* state change, then save the expand state. */
@@ -405,8 +409,8 @@ regen_data_new (MessageList *message_list,
/* Remember the expand state and restore it
* after regen. */
regen_data->expand_state =
- e_tree_save_expanded_state_xml (
- E_TREE (message_list));
+ e_tree_table_adapter_save_expanded_state_xml (
+ adapter);
}
}