From 94a3a06b32b353ad5ca0ca84438cee8dc04cbc5a Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 20 Jun 2013 10:22:17 -0400 Subject: 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); --- e-util/e-tree.c | 10 ---------- e-util/e-tree.h | 3 --- 2 files changed, 13 deletions(-) (limited to 'e-util') 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 @@ -2190,16 +2190,6 @@ e_tree_view_to_model_row (ETree *tree, return view_row; } -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, 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, -- cgit v1.2.3