aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-tree-memory.c10
-rw-r--r--e-util/e-tree-model.c22
-rw-r--r--e-util/e-tree-model.h5
3 files changed, 0 insertions, 37 deletions
diff --git a/e-util/e-tree-memory.c b/e-util/e-tree-memory.c
index 37f6351111..f15c4bb6c9 100644
--- a/e-util/e-tree-memory.c
+++ b/e-util/e-tree-memory.c
@@ -193,15 +193,6 @@ tree_memory_get_first_child (ETreeModel *etm,
}
static ETreePath
-tree_memory_get_last_child (ETreeModel *etm,
- ETreePath node)
-{
- ETreeMemoryPath *path = node;
-
- return path->last_child;
-}
-
-static ETreePath
tree_memory_get_next (ETreeModel *etm,
ETreePath node)
{
@@ -291,7 +282,6 @@ e_tree_memory_class_init (ETreeMemoryClass *class)
tree_model_class->get_prev = tree_memory_get_prev;
tree_model_class->get_next = tree_memory_get_next;
tree_model_class->get_first_child = tree_memory_get_first_child;
- tree_model_class->get_last_child = tree_memory_get_last_child;
tree_model_class->get_parent = tree_memory_get_parent;
tree_model_class->is_root = tree_memory_is_root;
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c
index 88c65f1d31..3d1531e60a 100644
--- a/e-util/e-tree-model.c
+++ b/e-util/e-tree-model.c
@@ -171,7 +171,6 @@ e_tree_model_class_init (ETreeModelClass *class)
class->get_parent = NULL;
class->get_first_child = NULL;
- class->get_last_child = NULL;
class->get_next = NULL;
class->get_prev = NULL;
@@ -467,27 +466,6 @@ e_tree_model_node_get_first_child (ETreeModel *tree_model,
}
/**
- * e_tree_model_node_get_last_child:
- * @tree_model:
- * @path:
- *
- *
- *
- * Return value:
- **/
-ETreePath
-e_tree_model_node_get_last_child (ETreeModel *tree_model,
- ETreePath path)
-{
- g_return_val_if_fail (E_IS_TREE_MODEL (tree_model), NULL);
-
- if (ETM_CLASS (tree_model)->get_last_child)
- return ETM_CLASS (tree_model)->get_last_child (tree_model, path);
- else
- return NULL;
-}
-
-/**
* e_tree_model_node_get_next:
* @tree_model:
* @path:
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h
index 1c42b3d391..d10c69ef0a 100644
--- a/e-util/e-tree-model.h
+++ b/e-util/e-tree-model.h
@@ -77,8 +77,6 @@ struct _ETreeModelClass {
ETreePath path);
ETreePath (*get_first_child) (ETreeModel *tree_model,
ETreePath path);
- ETreePath (*get_last_child) (ETreeModel *tree_model,
- ETreePath path);
ETreePath (*get_next) (ETreeModel *tree_model,
ETreePath path);
ETreePath (*get_prev) (ETreeModel *tree_model,
@@ -189,9 +187,6 @@ ETreePath e_tree_model_node_get_parent (ETreeModel *tree_model,
ETreePath e_tree_model_node_get_first_child
(ETreeModel *tree_model,
ETreePath path);
-ETreePath e_tree_model_node_get_last_child
- (ETreeModel *tree_model,
- ETreePath path);
ETreePath e_tree_model_node_get_next (ETreeModel *tree_model,
ETreePath path);
ETreePath e_tree_model_node_get_prev (ETreeModel *tree_model,