diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 12:25:19 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-03 12:25:19 -0400 |
commit | b4c5f79725142c78a398a22981392d645bc9d2e9 (patch) | |
tree | c6f836b1179c018c55b6dfead9cbca4e2fa97876 /include | |
parent | rename _container_destroy to container_finish (diff) | |
download | sway-b4c5f79725142c78a398a22981392d645bc9d2e9.tar.gz sway-b4c5f79725142c78a398a22981392d645bc9d2e9.tar.zst sway-b4c5f79725142c78a398a22981392d645bc9d2e9.zip |
move view and workspace destructors to container.c
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/container.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h index 1286316a..278505ce 100644 --- a/include/sway/tree/container.h +++ b/include/sway/tree/container.h | |||
@@ -128,11 +128,12 @@ struct sway_container *container_view_create( | |||
128 | struct sway_container *sibling, struct sway_view *sway_view); | 128 | struct sway_container *sibling, struct sway_view *sway_view); |
129 | 129 | ||
130 | // TODO don't return the parent on destroy | 130 | // TODO don't return the parent on destroy |
131 | void container_destroy(struct sway_container *container); | 131 | struct sway_container *container_destroy(struct sway_container *container); |
132 | |||
133 | // TODO make me private | ||
134 | struct sway_container *container_finish(struct sway_container *cont); | ||
132 | 135 | ||
133 | struct sway_container *container_workspace_destroy(struct sway_container *container); | ||
134 | struct sway_container *container_output_destroy(struct sway_container *container); | 136 | struct sway_container *container_output_destroy(struct sway_container *container); |
135 | void container_view_destroy(struct sway_container *container); | ||
136 | 137 | ||
137 | struct sway_container *container_close(struct sway_container *container); | 138 | struct sway_container *container_close(struct sway_container *container); |
138 | 139 | ||