summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:10:51 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-03 13:10:51 -0400
commitfcbcbf34adbcfbfc4107c5e0050639828265e122 (patch)
treeabf10e145c74576c180bcfc3a7922f773b2cf223
parentunify workspace create functions (diff)
downloadsway-fcbcbf34adbcfbfc4107c5e0050639828265e122.tar.gz
sway-fcbcbf34adbcfbfc4107c5e0050639828265e122.tar.zst
sway-fcbcbf34adbcfbfc4107c5e0050639828265e122.zip
make container_finish private
-rw-r--r--include/sway/tree/container.h3
-rw-r--r--sway/tree/container.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index c6393dc0..88ca67e9 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -130,9 +130,6 @@ struct sway_container *container_view_create(
130// TODO don't return the parent on destroy 130// TODO don't return the parent on destroy
131struct sway_container *container_destroy(struct sway_container *container); 131struct sway_container *container_destroy(struct sway_container *container);
132 132
133// TODO make me private
134struct sway_container *container_finish(struct sway_container *cont);
135
136struct sway_container *container_close(struct sway_container *container); 133struct sway_container *container_close(struct sway_container *container);
137 134
138// TODO move to layout.c 135// TODO move to layout.c
diff --git a/sway/tree/container.c b/sway/tree/container.c
index 7ccd43ea..7cc8caa6 100644
--- a/sway/tree/container.c
+++ b/sway/tree/container.c
@@ -77,7 +77,7 @@ struct sway_container *container_create(enum sway_container_type type) {
77 return c; 77 return c;
78} 78}
79 79
80struct sway_container *container_finish(struct sway_container *cont) { 80static struct sway_container *container_finish(struct sway_container *cont) {
81 if (cont == NULL) { 81 if (cont == NULL) {
82 return NULL; 82 return NULL;
83 } 83 }