commit fcbcbf34adbcfbfc4107c5e0050639828265e122 parent 5f4761c4f40f5d6ec550ccabaebe0f990b6e8bbc Author: Tony Crisci <tony@dubstepdish.com> Date: Tue, 3 Apr 2018 13:10:51 -0400 make container_finish private Diffstat:
| M | include/sway/tree/container.h | | | 3 | --- |
| M | sway/tree/container.c | | | 2 | +- |
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h @@ -130,9 +130,6 @@ struct sway_container *container_view_create( // TODO don't return the parent on destroy struct sway_container *container_destroy(struct sway_container *container); -// TODO make me private -struct sway_container *container_finish(struct sway_container *cont); - struct sway_container *container_close(struct sway_container *container); // TODO move to layout.c diff --git a/sway/tree/container.c b/sway/tree/container.c @@ -77,7 +77,7 @@ struct sway_container *container_create(enum sway_container_type type) { return c; } -struct sway_container *container_finish(struct sway_container *cont) { +static struct sway_container *container_finish(struct sway_container *cont) { if (cont == NULL) { return NULL; }