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.h4
3 files changed, 0 insertions, 36 deletions
diff --git a/e-util/e-tree-memory.c b/e-util/e-tree-memory.c
index f15c4bb6c9..93d0184a99 100644
--- a/e-util/e-tree-memory.c
+++ b/e-util/e-tree-memory.c
@@ -201,15 +201,6 @@ tree_memory_get_next (ETreeModel *etm,
return path->next_sibling;
}
-static ETreePath
-tree_memory_get_prev (ETreeModel *etm,
- ETreePath node)
-{
- ETreeMemoryPath *path = node;
-
- return path->prev_sibling;
-}
-
static gboolean
tree_memory_is_root (ETreeModel *etm,
ETreePath node)
@@ -279,7 +270,6 @@ e_tree_memory_class_init (ETreeMemoryClass *class)
tree_model_class = E_TREE_MODEL_CLASS (class);
tree_model_class->get_root = tree_memory_get_root;
- 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_parent = tree_memory_get_parent;
diff --git a/e-util/e-tree-model.c b/e-util/e-tree-model.c
index 3d1531e60a..6431f886e3 100644
--- a/e-util/e-tree-model.c
+++ b/e-util/e-tree-model.c
@@ -172,7 +172,6 @@ e_tree_model_class_init (ETreeModelClass *class)
class->get_parent = NULL;
class->get_first_child = NULL;
class->get_next = NULL;
- class->get_prev = NULL;
class->is_root = NULL;
class->is_expandable = NULL;
@@ -487,27 +486,6 @@ e_tree_model_node_get_next (ETreeModel *tree_model,
}
/**
- * e_tree_model_node_get_prev:
- * @tree_model:
- * @path:
- *
- *
- *
- * Return value:
- **/
-ETreePath
-e_tree_model_node_get_prev (ETreeModel *tree_model,
- ETreePath path)
-{
- g_return_val_if_fail (E_IS_TREE_MODEL (tree_model), NULL);
-
- if (ETM_CLASS (tree_model)->get_prev)
- return ETM_CLASS (tree_model)->get_prev (tree_model, path);
- else
- return NULL;
-}
-
-/**
* e_tree_model_node_is_root:
* @tree_model:
* @path:
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h
index d10c69ef0a..1911f76e7a 100644
--- a/e-util/e-tree-model.h
+++ b/e-util/e-tree-model.h
@@ -79,8 +79,6 @@ struct _ETreeModelClass {
ETreePath path);
ETreePath (*get_next) (ETreeModel *tree_model,
ETreePath path);
- ETreePath (*get_prev) (ETreeModel *tree_model,
- ETreePath path);
gboolean (*is_root) (ETreeModel *tree_model,
ETreePath path);
@@ -189,8 +187,6 @@ ETreePath e_tree_model_node_get_first_child
ETreePath path);
ETreePath e_tree_model_node_get_next (ETreeModel *tree_model,
ETreePath path);
-ETreePath e_tree_model_node_get_prev (ETreeModel *tree_model,
- ETreePath path);
/* node accessors */
gboolean e_tree_model_node_is_root (ETreeModel *tree_model,