aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 12:25:19 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 12:25:19 -0400
commitb4c5f79725142c78a398a22981392d645bc9d2e9 (patch)
treec6f836b1179c018c55b6dfead9cbca4e2fa97876 /include
parentrename _container_destroy to container_finish (diff)
downloadsway-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.h7
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
131void container_destroy(struct sway_container *container); 131struct sway_container *container_destroy(struct sway_container *container);
132
133// TODO make me private
134struct sway_container *container_finish(struct sway_container *cont);
132 135
133struct sway_container *container_workspace_destroy(struct sway_container *container);
134struct sway_container *container_output_destroy(struct sway_container *container); 136struct sway_container *container_output_destroy(struct sway_container *container);
135void container_view_destroy(struct sway_container *container);
136 137
137struct sway_container *container_close(struct sway_container *container); 138struct sway_container *container_close(struct sway_container *container);
138 139