diff options
author | emersion <contact@emersion.fr> | 2018-08-11 08:44:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-11 08:44:11 +0100 |
commit | 9545c70928d47172cfbcbd318628497b87efefc1 (patch) | |
tree | f24bbab4a5a54936ddca9b823e4103ea630e993b /include | |
parent | Merge pull request #2447 from ianyfan/swaynag-leak (diff) | |
parent | Remove container_has_child (diff) | |
download | sway-9545c70928d47172cfbcbd318628497b87efefc1.tar.gz sway-9545c70928d47172cfbcbd318628497b87efefc1.tar.zst sway-9545c70928d47172cfbcbd318628497b87efefc1.zip |
Merge pull request #2448 from RyanDwyer/remove-container-has-child
Remove container_has_child
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 4d0e6003..799c017d 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -256,12 +256,6 @@ void container_for_each_descendant_dfs(struct sway_container *container, | |||
256 | bool container_has_ancestor(struct sway_container *container, | 256 | bool container_has_ancestor(struct sway_container *container, |
257 | struct sway_container *ancestor); | 257 | struct sway_container *ancestor); |
258 | 258 | ||
259 | /** | ||
260 | * Returns true if the given container is a child descendant of this container. | ||
261 | */ | ||
262 | bool container_has_child(struct sway_container *con, | ||
263 | struct sway_container *child); | ||
264 | |||
265 | int container_count_descendants_of_type(struct sway_container *con, | 259 | int container_count_descendants_of_type(struct sway_container *con, |
266 | enum sway_container_type type); | 260 | enum sway_container_type type); |
267 | 261 | ||