diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 23:11:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 23:11:55 +0800 |
commit | f1ee71f71f9af35fba479fe3d74d82ddaecebd66 (patch) | |
tree | 5fbe3418d1726ce64a8c8885abf27eb8a08113c6 | |
parent | e808cf140deb6906445392c71f69ab87699c0040 (diff) | |
download | gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.gz gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.tar.zst gsoc2013-evolution-f1ee71f71f9af35fba479fe3d74d82ddaecebd66.zip |
Remove unused e_tree_model_node_get_prev().
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-tree-memory.c | 10 | ||||
-rw-r--r-- | e-util/e-tree-model.c | 22 | ||||
-rw-r--r-- | e-util/e-tree-model.h | 4 |
4 files changed, 0 insertions, 37 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index 3c2d2f6969..7ed1d8931a 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4344,7 +4344,6 @@ e_tree_model_get_root e_tree_model_node_get_parent e_tree_model_node_get_first_child e_tree_model_node_get_next -e_tree_model_node_get_prev e_tree_model_node_is_root e_tree_model_node_is_expandable e_tree_model_node_get_children 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, |