diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-11 15:57:09 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-11 15:57:09 +1000 |
commit | 4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff (patch) | |
tree | 233e3977ad922df56a76d91e59606019fc21c38f /include/sway/tree | |
parent | e474d87e42d625eb4e0a41a0559bbf0e4ec5ecc5 (diff) |
Remove container_for_each_descendant_bfs
The function was not used.
Also renames container_for_each_descendant_dfs to just
container_for_each_descendant.
Diffstat (limited to 'include/sway/tree')
-rw-r--r-- | include/sway/tree/container.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 4d0e6003..4170f6ba 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h @@ -239,15 +239,9 @@ struct sway_container *tiling_container_at( struct wlr_surface **surface, double *sx, double *sy); /** - * Apply the function for each descendant of the container breadth first. - */ -void container_for_each_descendant_bfs(struct sway_container *container, - void (*f)(struct sway_container *container, void *data), void *data); - -/** * Apply the function for each child of the container depth first. */ -void container_for_each_descendant_dfs(struct sway_container *container, +void container_for_each_descendant(struct sway_container *container, void (*f)(struct sway_container *container, void *data), void *data); /** |