mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	main.c: release default font map on exit
This commit is contained in:
		
							parent
							
								
									9fc6e27252
								
							
						
					
					
						commit
						66b490d853
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -3,6 +3,9 @@
 | 
				
			||||||
#include "theme/xbm/xbm.h"
 | 
					#include "theme/xbm/xbm.h"
 | 
				
			||||||
#include "common/spawn.h"
 | 
					#include "common/spawn.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#include <cairo.h>
 | 
				
			||||||
 | 
					#include <pango/pangocairo.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct server server = { 0 };
 | 
					struct server server = { 0 };
 | 
				
			||||||
struct rcxml rc = { 0 };
 | 
					struct rcxml rc = { 0 };
 | 
				
			||||||
struct theme theme = { 0 };
 | 
					struct theme theme = { 0 };
 | 
				
			||||||
| 
						 | 
					@ -60,5 +63,6 @@ int main(int argc, char *argv[])
 | 
				
			||||||
	wl_display_run(server.wl_display);
 | 
						wl_display_run(server.wl_display);
 | 
				
			||||||
	server_finish(&server);
 | 
						server_finish(&server);
 | 
				
			||||||
	rcxml_finish();
 | 
						rcxml_finish();
 | 
				
			||||||
 | 
						pango_cairo_font_map_set_default(NULL);
 | 
				
			||||||
	return 0;
 | 
						return 0;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue