[evolution] Remove unused e_tree_memory_set_node_destroy_func().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_tree_memory_set_node_destroy_func().
- Date: Sat, 15 Jun 2013 17:26:45 +0000 (UTC)
commit a0960cf4ff54401023c891c58e7a85a32bd75959
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Jun 15 10:11:28 2013 -0400
Remove unused e_tree_memory_set_node_destroy_func().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-tree-memory.c | 14 --------------
e-util/e-tree-memory.h | 4 ----
3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt
b/doc/reference/evolution-util/evolution-util-sections.txt
index e04d7a8..90acc07 100644
--- a/doc/reference/evolution-util/evolution-util-sections.txt
+++ b/doc/reference/evolution-util/evolution-util-sections.txt
@@ -4293,7 +4293,6 @@ e_tree_memory_thaw
e_tree_memory_set_expanded_default
e_tree_memory_node_get_data
e_tree_memory_node_set_data
-e_tree_memory_set_node_destroy_func
<SUBSECTION Standard>
E_TREE_MEMORY
E_IS_TREE_MEMORY
diff --git a/e-util/e-tree-memory.c b/e-util/e-tree-memory.c
index 017bb49..aacb275 100644
--- a/e-util/e-tree-memory.c
+++ b/e-util/e-tree-memory.c
@@ -76,8 +76,6 @@ struct _ETreeMemoryPrivate {
gboolean expanded_default;
gint frozen;
- GFunc destroy_func;
- gpointer destroy_user_data;
};
/* ETreeMemoryPath functions */
@@ -555,10 +553,6 @@ child_free (ETreeMemory *tree_memory,
child = next;
}
- if (tree_memory->priv->destroy_func) {
- tree_memory->priv->destroy_func (node->node_data, tree_memory->priv->destroy_user_data);
- }
-
g_slice_free (ETreeMemoryPath, node);
}
@@ -611,11 +605,3 @@ e_tree_memory_node_remove (ETreeMemory *tree_memory,
return ret;
}
-void
-e_tree_memory_set_node_destroy_func (ETreeMemory *tree_memory,
- GFunc destroy_func,
- gpointer user_data)
-{
- tree_memory->priv->destroy_func = destroy_func;
- tree_memory->priv->destroy_user_data = user_data;
-}
diff --git a/e-util/e-tree-memory.h b/e-util/e-tree-memory.h
index 2e18b56..bb9b325 100644
--- a/e-util/e-tree-memory.h
+++ b/e-util/e-tree-memory.h
@@ -94,10 +94,6 @@ gpointer e_tree_memory_node_get_data (ETreeMemory *tree_memory,
void e_tree_memory_node_set_data (ETreeMemory *tree_memory,
ETreePath node,
gpointer node_data);
-void e_tree_memory_set_node_destroy_func
- (ETreeMemory *tree_memory,
- GFunc destroy_func,
- gpointer user_data);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]