fix compile warnings
This commit is contained in:
		
							parent
							
								
									b58038e2f1
								
							
						
					
					
						commit
						03ec6e2864
					
				
							
								
								
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dunst.c
									
									
									
									
									
								
							| @ -1971,7 +1971,7 @@ int main(int argc, char *argv[]) | ||||
|       run(NULL); | ||||
|       g_main_loop_run(mainloop); | ||||
| 
 | ||||
|       g_bus_unown_name(owner_id); | ||||
|       dbus_tear_down(owner_id); | ||||
| 
 | ||||
|         return 0; | ||||
| } | ||||
|  | ||||
							
								
								
									
										2
									
								
								dunst.h
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								dunst.h
									
									
									
									
									
								
							| @ -38,7 +38,7 @@ typedef struct _screen_info { | ||||
| 
 | ||||
| typedef struct _actions { | ||||
|         char **actions; | ||||
|         int count; | ||||
|         gsize count; | ||||
| } Actions; | ||||
| 
 | ||||
| typedef struct _notification { | ||||
|  | ||||
| @ -325,3 +325,8 @@ int initdbus(void) | ||||
| 
 | ||||
|         return owner_id; | ||||
| } | ||||
| 
 | ||||
| void dbus_tear_down(int owner_id) | ||||
| { | ||||
|       g_bus_unown_name(owner_id); | ||||
| } | ||||
|  | ||||
| @ -6,6 +6,7 @@ | ||||
| #include <dbus/dbus.h> | ||||
| 
 | ||||
| int initdbus(void); | ||||
| void dbus_tear_down(int id); | ||||
| /* void dbus_poll(int timeout); */ | ||||
| void notificationClosed(notification * n, int reason); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sascha Kruse
						Sascha Kruse