Early on, call g_type_init() unless deprecated
This commit is contained in:
		
							parent
							
								
									ee200b97aa
								
							
						
					
					
						commit
						4ad9a69aeb
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1046,6 +1046,9 @@ main (int argc, char *argv[])
 | 
			
		|||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
#if ! GLIB_CHECK_VERSION (2, 36, 0)
 | 
			
		||||
	g_type_init ();
 | 
			
		||||
#endif
 | 
			
		||||
	load_config ();
 | 
			
		||||
 | 
			
		||||
#ifdef WIN32
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue