diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-20 23:17:40 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:51 +0800 |
commit | 2965f986dd94257d4561472762803ec4ca671cda (patch) | |
tree | 2b1996b968fab1043a6b2a76dc4051940855b59f /e-util | |
parent | 792f0ba3748bda87b08e1c4e564a618b3b427c4f (diff) | |
download | gsoc2013-evolution-2965f986dd94257d4561472762803ec4ca671cda.tar.gz gsoc2013-evolution-2965f986dd94257d4561472762803ec4ca671cda.tar.zst gsoc2013-evolution-2965f986dd94257d4561472762803ec4ca671cda.zip |
Remove e_tree_root_node_is_visible().
Reducing API bloat. Do this instead:
adapter = e_tree_get_table_adapter (tree);
visible = e_tree_table_adapter_root_node_is_visible (adapter);
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 8 | ||||
-rw-r--r-- | e-util/e-tree.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index 3ad966c70b..8c3dddab02 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2196,14 +2196,6 @@ e_tree_view_to_model_row (ETree *tree, return view_row; } -gboolean -e_tree_root_node_is_visible (ETree *tree) -{ - g_return_val_if_fail (E_IS_TREE (tree), FALSE); - - return e_tree_table_adapter_root_node_is_visible (tree->priv->etta); -} - void e_tree_show_node (ETree *tree, ETreePath path) diff --git a/e-util/e-tree.h b/e-util/e-tree.h index 9a4efe9709..0c1dc7feca 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -273,7 +273,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree, gboolean e_tree_is_dragging (ETree *tree); /* Adapter functions */ -gboolean e_tree_root_node_is_visible (ETree *tree); void e_tree_show_node (ETree *tree, ETreePath path); void e_tree_save_expanded_state (ETree *tree, |