aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-21 00:10:02 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-21 03:31:52 +0800
commit662c1a21bf74ebb4724612eea840a3dd810860b4 (patch)
treec92a38ec3c7276da692e960a5a6fb367fc498476 /e-util
parent68b0b1022158a2442fffdd67820c1576adfdb9b0 (diff)
downloadgsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar.gz
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar.bz2
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar.lz
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar.xz
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.tar.zst
gsoc2013-evolution-662c1a21bf74ebb4724612eea840a3dd810860b4.zip
Remove e_tree_force_expanded_state().
Reducing API bloat. Do this instead: adapter = e_tree_get_table_adapter (tree); e_tree_table_adapter_force_expanded_state (adapter, state);
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree.c12
-rw-r--r--e-util/e-tree.h2
2 files changed, 0 insertions, 14 deletions
diff --git a/e-util/e-tree.c b/e-util/e-tree.c
index 77a6c2f142..d9f723b3a9 100644
--- a/e-util/e-tree.c
+++ b/e-util/e-tree.c
@@ -2196,18 +2196,6 @@ e_tree_view_to_model_row (ETree *tree,
return view_row;
}
-/* state: <0 ... collapse; 0 ... no force - use default; >0 ... expand;
- * when using this, be sure to reset to 0 once no forcing is required
- * anymore, aka the build of the tree is done */
-void
-e_tree_force_expanded_state (ETree *tree,
- gint state)
-{
- g_return_if_fail (E_IS_TREE (tree));
-
- e_tree_table_adapter_force_expanded_state (tree->priv->etta, state);
-}
-
gint
e_tree_row_count (ETree *tree)
{
diff --git a/e-util/e-tree.h b/e-util/e-tree.h
index c937e62f0d..6a2745c7c2 100644
--- a/e-util/e-tree.h
+++ b/e-util/e-tree.h
@@ -274,8 +274,6 @@ gboolean e_tree_is_dragging (ETree *tree);
gint e_tree_row_count (ETree *tree);
GtkWidget * e_tree_get_tooltip (ETree *tree);
-void e_tree_force_expanded_state (ETree *tree,
- gint state);
typedef enum {
E_TREE_FIND_NEXT_BACKWARD = 0,