diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-20 22:14:30 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-21 03:31:51 +0800 |
commit | 7742fe08606c4d491355e8add61083284ec1264f (patch) | |
tree | 1d07d32d2bb72501f37d7929bf772f5e6cbceecf /e-util | |
parent | f0900fd21d0c6abd7e038aac656de7b6cfeb19d2 (diff) | |
download | gsoc2013-evolution-7742fe08606c4d491355e8add61083284ec1264f.tar.gz gsoc2013-evolution-7742fe08606c4d491355e8add61083284ec1264f.tar.zst gsoc2013-evolution-7742fe08606c4d491355e8add61083284ec1264f.zip |
Remove e_tree_node_is_expanded().
Reducing API bloat. Do this instead:
adapter = e_tree_get_table_adapter (tree);
expanded = e_tree_table_adapter_node_is_expanded (adapter, path);
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree.c | 9 | ||||
-rw-r--r-- | e-util/e-tree.h | 2 |
2 files changed, 0 insertions, 11 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c index 20eb8a4588..d8aa3e8f9b 100644 --- a/e-util/e-tree.c +++ b/e-util/e-tree.c @@ -2190,15 +2190,6 @@ e_tree_view_to_model_row (ETree *tree, return view_row; } -gboolean -e_tree_node_is_expanded (ETree *tree, - ETreePath path) -{ - g_return_val_if_fail (path, FALSE); - - return e_tree_table_adapter_node_is_expanded (tree->priv->etta, path); -} - void e_tree_node_set_expanded (ETree *tree, ETreePath path, diff --git a/e-util/e-tree.h b/e-util/e-tree.h index d413972d02..4b70ea876b 100644 --- a/e-util/e-tree.h +++ b/e-util/e-tree.h @@ -273,8 +273,6 @@ GdkDragContext *e_tree_drag_begin (ETree *tree, gboolean e_tree_is_dragging (ETree *tree); /* Adapter functions */ -gboolean e_tree_node_is_expanded (ETree *tree, - ETreePath path); void e_tree_node_set_expanded (ETree *tree, ETreePath path, gboolean expanded); |