aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:11:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:11:55 +0800
commitf1ee71f71f9af35fba479fe3d74d82ddaecebd66 (patch)
tree5fbe3418d1726ce64a8c8885abf27eb8a08113c6 /e-util
parente808cf140deb6906445392c71f69ab87699c0040 (diff)
downloadgsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.gz
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.bz2
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.lz
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.xz
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.zst
gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.zip
Remove unused e_tree_model_node_get_prev().
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,