aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:09:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-15 23:09:28 +0800
commite808cf140deb6906445392c71f69ab87699c0040 (patch)
tree4003b97a491c8dc50ec33a59b8a967709f666fab
parent137a9cea1b588499c7e46e9e1dba341566dd18a1 (diff)
downloadgsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar.gz
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar.bz2
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar.lz
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar.xz
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.tar.zst
gsoc2013-evolution-e808cf140deb6906445392c71f69ab87699c0040.zip
Remove unused e_tree_model_node_get_last_child().
-rw-r--r--doc/reference/evolution-util/evolution-util-sections.txt1
-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
4 files changed, 0 insertions, 38 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt
index b323921f50..3c2d2f6969 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4343,7 +4343,6 @@ ETreePath
e_tree_model_get_root
e_tree_model_node_get_parent
e_tree_model_node_get_first_child
-e_tree_model_node_get_last_child
e_tree_model_node_get_next
e_tree_model_node_get_prev
e_tree_model_node_is_root
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,