mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	small cleanups
This commit is contained in:
		
							parent
							
								
									3805d5dfa2
								
							
						
					
					
						commit
						d99b1918ed
					
				
					 4 changed files with 9 additions and 9 deletions
				
			
		| 
						 | 
				
			
			@ -41,7 +41,7 @@ struct device_data {
 | 
			
		|||
	struct spa_hook proxy_listener;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
static void device_proxy_destroy(void *_data)
 | 
			
		||||
static void proxy_device_destroy(void *_data)
 | 
			
		||||
{
 | 
			
		||||
	struct device_data *data = _data;
 | 
			
		||||
	spa_hook_remove(&data->device_listener);
 | 
			
		||||
| 
						 | 
				
			
			@ -49,7 +49,7 @@ static void device_proxy_destroy(void *_data)
 | 
			
		|||
 | 
			
		||||
static const struct pw_proxy_events proxy_events = {
 | 
			
		||||
	PW_VERSION_PROXY_EVENTS,
 | 
			
		||||
	.destroy = device_proxy_destroy,
 | 
			
		||||
	.destroy = proxy_device_destroy,
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
struct pw_proxy *pw_core_spa_device_export(struct pw_core *core,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue