[evolution] Remove e_tree_node_set_expanded().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove e_tree_node_set_expanded().
- Date: Thu, 20 Jun 2013 19:42:13 +0000 (UTC)
commit 94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jun 20 10:22:17 2013 -0400
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);
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-tree.c | 10 ----------
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 7143809..7ce825a 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 d8aa3e8..f9183c6 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 4b70ea8..029b192 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]