diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 22:11:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-15 22:11:28 +0800 |
commit | a0960cf4ff54401023c891c58e7a85a32bd75959 (patch) | |
tree | 29fff0a394778d5e42fe35dbb5128a3b5940b761 /e-util | |
parent | 9a6a323c626a2991e0f2fc64fe504b8ee7d42392 (diff) | |
download | gsoc2013-evolution-a0960cf4ff54401023c891c58e7a85a32bd75959.tar.gz gsoc2013-evolution-a0960cf4ff54401023c891c58e7a85a32bd75959.tar.zst gsoc2013-evolution-a0960cf4ff54401023c891c58e7a85a32bd75959.zip |
Remove unused e_tree_memory_set_node_destroy_func().
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-tree-memory.c | 14 | ||||
-rw-r--r-- | e-util/e-tree-memory.h | 4 |
2 files changed, 0 insertions, 18 deletions
diff --git a/e-util/e-tree-memory.c b/e-util/e-tree-memory.c index 017bb49844..aacb2759dd 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 2e18b56fd0..bb9b3253d1 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 |