diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-20 22:22:17 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:51 +0800 |
commit | 94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a (patch) | |
tree | 31bfc8979d4e7281689595824a9696452f8cb3d3 | |
parent | 7742fe08606c4d491355e8add61083284ec1264f (diff) | |
download | gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar.gz gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar.bz2 gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar.lz gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar.xz gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.tar.zst gsoc2013-evolution-94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a.zip |
Remove e_tree_node_set_expanded().
Reducing API bloat. Do this instead:
adapter = e_tree_get_table_adapter (tree);
e_tree_table_adapter_node_set_expanded (adapter, path, expanded);
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-tree.c | 10 | ||||
-rw-r--r-- | e-util/e-tree.h | 3 |
3 files changed, 0 insertions, 14 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index 7143809df9..7ce825a552 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4207,7 +4207,6 @@ e_tree_drag_source_set e_tree_drag_source_unset e_tree_drag_begin e_tree_is_dragging -e_tree_node_set_expanded e_tree_node_set_expanded_recurse e_tree_root_node_set_visible e_tree_node_at_row diff --git a/e-util/e-tree.c b/e-util/e-tree.c index d8aa3e8f9b..f9183c6478 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2191,16 +2191,6 @@ e_tree_view_to_model_row (ETree *tree, } void -e_tree_node_set_expanded (ETree *tree, - ETreePath path, - gboolean expanded) -{ - g_return_if_fail (E_IS_TREE (tree)); - - e_tree_table_adapter_node_set_expanded (tree->priv->etta, path, expanded); -} - -void e_tree_node_set_expanded_recurse (ETree *tree, ETreePath path, gboolean expanded) diff --git a/e-util/e-tree.h b/e-util/e-tree.h index 4b70ea876b..029b192579 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -273,9 +273,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree, gboolean e_tree_is_dragging (ETree *tree); /* Adapter functions */ -void e_tree_node_set_expanded (ETree *tree, - ETreePath path, - gboolean expanded); void e_tree_node_set_expanded_recurse (ETree *tree, ETreePath path, |