aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-rw-r--r--e-util/e-tree-memory.c35
-rw-r--r--e-util/e-tree-memory.h5
3 files changed, 0 insertions, 41 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index 2390c953b7..eb7bab68de 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4287,7 +4287,6 @@ ETreeMemory
e_tree_memory_construct
e_tree_memory_new
e_tree_memory_node_insert
-e_tree_memory_node_insert_before
e_tree_memory_node_remove
e_tree_memory_freeze
e_tree_memory_thaw
diff --git a/e-util/e-tree-memory.c b/e-util/e-tree-memory.c
index 30fa6465a1..0b92b17ac4 100644
--- a/e-util/e-tree-memory.c
+++ b/e-util/e-tree-memory.c
@@ -541,41 +541,6 @@ e_tree_memory_node_insert (ETreeMemory *tree_memory,
return new_path;
}
-/**
- * e_tree_memory_node_insert_before:
- * @tree_memory:
- * @parent:
- * @sibling:
- * @node_data:
- *
- *
- *
- * Return value:
- **/
-ETreePath
-e_tree_memory_node_insert_before (ETreeMemory *tree_memory,
- ETreePath parent,
- ETreePath sibling,
- gpointer node_data)
-{
- ETreeMemoryPath *child;
- ETreeMemoryPath *parent_path = parent;
- ETreeMemoryPath *sibling_path = sibling;
- gint position = 0;
-
- g_return_val_if_fail (tree_memory != NULL, NULL);
-
- if (sibling != NULL) {
- for (child = parent_path->first_child; child; child = child->next_sibling) {
- if (child == sibling_path)
- break;
- position++;
- }
- } else
- position = parent_path->num_children;
- return e_tree_memory_node_insert (tree_memory, parent, position, node_data);
-}
-
/* just blows away child data, doesn't take into account unlinking/etc */
static void
child_free (ETreeMemory *tree_memory,
diff --git a/e-util/e-tree-memory.h b/e-util/e-tree-memory.h
index aa47ce3ad1..532a40ef0a 100644
--- a/e-util/e-tree-memory.h
+++ b/e-util/e-tree-memory.h
@@ -85,11 +85,6 @@ ETreePath e_tree_memory_node_insert (ETreeMemory *tree_memory,
ETreePath parent_node,
gint position,
gpointer node_data);
-ETreePath e_tree_memory_node_insert_before
- (ETreeMemory *tree_memory,
- ETreePath parent,
- ETreePath sibling,
- gpointer node_data);
gpointer e_tree_memory_node_remove (ETreeMemory *tree_memory,
ETreePath path);