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 /e-util | |
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 'e-util')
-rw-r--r-- | e-util/e-tree.c | 10 | ||||
-rw-r--r-- | e-util/e-tree.h | 4 |
2 files changed, 0 insertions, 14 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index 9a3d934774..77a6c2f142 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2196,16 +2196,6 @@ e_tree_view_to_model_row (ETree *tree, return view_row; } -void -e_tree_load_expanded_state_xml (ETree *tree, - xmlDoc *doc) -{ - g_return_if_fail (E_IS_TREE (tree)); - g_return_if_fail (doc != NULL); - - e_tree_table_adapter_load_expanded_state_xml (tree->priv->etta, doc); -} - /* state: <0 ... collapse; 0 ... no force - use default; >0 ... expand; * when using this, be sure to reset to 0 once no forcing is required * anymore, aka the build of the tree is done */ diff --git a/e-util/e-tree.h b/e-util/e-tree.h index a6f1d276e6..c937e62f0d 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -272,10 +272,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree, gboolean e_tree_is_dragging (ETree *tree); -/* Adapter functions */ -void e_tree_load_expanded_state_xml (ETree *tree, - xmlDoc *doc); - gint e_tree_row_count (ETree *tree); GtkWidget * e_tree_get_tooltip (ETree *tree); void e_tree_force_expanded_state (ETree *tree, |