diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 01:11:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-06-16 01:14:41 +0800 |
commit | b58e9944529a890c5b9672cf6e5eb4f930112b63 (patch) | |
tree | 26c8eb8d719583d95eef1a6b1811f0ab74d13de8 /e-util/e-tree-model.h | |
parent | 275030595e58421288ba98a4abf67ba9e5a5e761 (diff) | |
download | gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar.gz gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar.bz2 gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar.lz gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar.xz gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.tar.zst gsoc2013-evolution-b58e9944529a890c5b9672cf6e5eb4f930112b63.zip |
Add e_tree_memory_get_n_children().
Replaces e_tree_memory_get_children().
The "paths" output parameter was unused, and was a bad idea anyway.
Diffstat (limited to 'e-util/e-tree-model.h')
-rw-r--r-- | e-util/e-tree-model.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/e-util/e-tree-model.h b/e-util/e-tree-model.h index 330bcd9258..431f93e2a2 100644 --- a/e-util/e-tree-model.h +++ b/e-util/e-tree-model.h @@ -84,9 +84,8 @@ struct _ETreeModelClass { ETreePath path); gboolean (*is_expandable) (ETreeModel *tree_model, ETreePath path); - guint (*get_children) (ETreeModel *tree_model, - ETreePath path, - ETreePath **paths); + guint (*get_n_children) (ETreeModel *tree_model, + ETreePath path); guint (*depth) (ETreeModel *tree_model, ETreePath path); @@ -179,9 +178,9 @@ gboolean e_tree_model_node_is_root (ETreeModel *tree_model, ETreePath path); gboolean e_tree_model_node_is_expandable (ETreeModel *tree_model, ETreePath path); -guint e_tree_model_node_get_children (ETreeModel *tree_model, - ETreePath path, - ETreePath **paths); +guint e_tree_model_node_get_n_children + (ETreeModel *tree_model, + ETreePath path); guint e_tree_model_node_depth (ETreeModel *tree_model, ETreePath path); GdkPixbuf * e_tree_model_icon_at (ETreeModel *tree_model, |