mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	src/desktop.c: Fix label error
Fixes "a label can only be part of a statement and a declaration is not a statement".
This commit is contained in:
		
							parent
							
								
									db9a808dca
								
							
						
					
					
						commit
						51e02e2afa
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -315,9 +315,11 @@ desktop_node_and_view_at(struct server *server, double lx, double ly,
 | 
			
		|||
	*view_area = LAB_SSD_NONE;
 | 
			
		||||
	return NULL;
 | 
			
		||||
 | 
			
		||||
struct view *view;
 | 
			
		||||
struct node_descriptor *desc;
 | 
			
		||||
has_view_data:
 | 
			
		||||
	struct node_descriptor *desc = node->data;
 | 
			
		||||
	struct view *view = desc->data;
 | 
			
		||||
	desc = node->data;
 | 
			
		||||
	view = desc->data;
 | 
			
		||||
	*view_area = ssd_get_part_type(view, *scene_node);
 | 
			
		||||
	return view;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue