mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-10-31 00:12:19 +01:00 
			
		
		
		
	Add doc comments. (g_win32_get_package_installation_directory): Add one
2001-01-17 Tor Lillqvist <tml@iki.fi> * gwin32.c (g_win32_getlocale, g_win32_error_message): Add doc comments. (g_win32_get_package_installation_directory): Add one parameter, the name of a DLL in the package. Add possibility to use that to deduce the installation directory if not entered into the Registry. Make the return value dynamically allocated. (g_win32_get_package_installation_subdirectory): New convenience function. * gutils.c (GLIB_LOCALE_DIR) * gwin32.h: Adapt accordingly. * testglib.c (main): Adapt tests accordingly.
This commit is contained in:
		
				
					committed by
					
						 Tor Lillqvist
						Tor Lillqvist
					
				
			
			
				
	
			
			
			
						parent
						
							ff51072d50
						
					
				
				
					commit
					69dbd6eb03
				
			
							
								
								
									
										11
									
								
								gutils.c
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								gutils.c
									
									
									
									
									
								
							| @@ -1009,11 +1009,12 @@ g_get_codeset (void) | ||||
|  | ||||
| #ifdef G_OS_WIN32 | ||||
|  | ||||
| #define GLIB_LOCALE_DIR 				\ | ||||
|   g_strconcat (g_win32_get_package_installation_directory (GETTEXT_PACKAGE), \ | ||||
| 	       G_DIR_SEPARATOR_S,			\ | ||||
| 	       "locale",				\ | ||||
| 	       NULL) | ||||
| #define GLIB_LOCALE_DIR					       	\ | ||||
|   g_win32_get_package_installation_subdirectory			\ | ||||
|   (GETTEXT_PACKAGE, g_strdup_printf ("glib-%d.%d.dll",		\ | ||||
| 				     GLIB_MAJOR_VERSION,	\ | ||||
| 				     GLIB_MINOR_VERSION),	\ | ||||
|    "locale") | ||||
|  | ||||
| #endif /* G_OS_WIN32 */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user