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 | |
parent | Merge pull request #2447 from ianyfan/swaynag-leak (diff) | |
download | sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.tar.gz sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.tar.zst sway-4ad1ccc9dcd1e9090090dfbae153ded1b36af9ff.zip |
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')
-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( | |||
239 | struct wlr_surface **surface, double *sx, double *sy); | 239 | struct wlr_surface **surface, double *sx, double *sy); |
240 | 240 | ||
241 | /** | 241 | /** |
242 | * Apply the function for each descendant of the container breadth first. | ||
243 | */ | ||
244 | void container_for_each_descendant_bfs(struct sway_container *container, | ||
245 | void (*f)(struct sway_container *container, void *data), void *data); | ||
246 | |||
247 | /** | ||
248 | * Apply the function for each child of the container depth first. | 242 | * Apply the function for each child of the container depth first. |
249 | */ | 243 | */ |
250 | void container_for_each_descendant_dfs(struct sway_container *container, | 244 | void container_for_each_descendant(struct sway_container *container, |
251 | void (*f)(struct sway_container *container, void *data), void *data); | 245 | void (*f)(struct sway_container *container, void *data), void *data); |
252 | 246 | ||
253 | /** | 247 | /** |