mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	make container_finish private
This commit is contained in:
		
							parent
							
								
									5f4761c4f4
								
							
						
					
					
						commit
						fcbcbf34ad
					
				
					 2 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
					@ -130,9 +130,6 @@ struct sway_container *container_view_create(
 | 
				
			||||||
// TODO don't return the parent on destroy
 | 
					// TODO don't return the parent on destroy
 | 
				
			||||||
struct sway_container *container_destroy(struct sway_container *container);
 | 
					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);
 | 
					struct sway_container *container_close(struct sway_container *container);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TODO move to layout.c
 | 
					// TODO move to layout.c
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -77,7 +77,7 @@ struct sway_container *container_create(enum sway_container_type type) {
 | 
				
			||||||
	return c;
 | 
						return c;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct sway_container *container_finish(struct sway_container *cont) {
 | 
					static struct sway_container *container_finish(struct sway_container *cont) {
 | 
				
			||||||
	if (cont == NULL) {
 | 
						if (cont == NULL) {
 | 
				
			||||||
		return NULL;
 | 
							return NULL;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue