diff options
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 |