renamed gimp_mem_size_entry_new() to gimp_memsize_entry_new() for

2002-05-29  Sven Neumann  <sven@gimp.org>

	* libgimpwidgets/gimpwidgets.[ch]: renamed gimp_mem_size_entry_new()
	to gimp_memsize_entry_new() for consistency. Rewrote using bitshifts.
	Should work correctly for sizeof (gulong) > 32 now. Added new unit
	GigaBytes.

	* app/gui/preferences-dialog.c
	* app/gui/user-install-dialog.c: changed accordingly.

	* app/config/gimpconfig-types.[ch]: added new function
	gimp_memsize_set_from_string() that allows to check if the
	conversion succeeded.

	* app/config/gimpconfig-deserialize.c
	(gimp_config_deserialize_memsize): use gimp_memsize_set_from_string().
This commit is contained in:
Sven Neumann
2002-05-29 09:20:56 +00:00
committed by Sven Neumann
parent bb32c3c267
commit 4c55933dea
15 changed files with 198 additions and 175 deletions

View File

@ -309,6 +309,7 @@ GIMP_STOCK_TOOL_ISCISSORS
GIMP_STOCK_TOOL_LEVELS
GIMP_STOCK_TOOL_MEASURE
GIMP_STOCK_TOOL_MOVE
GIMP_STOCK_TOOL_OPTIONS
GIMP_STOCK_TOOL_PAINTBRUSH
GIMP_STOCK_TOOL_PATH
GIMP_STOCK_TOOL_PENCIL
@ -350,10 +351,10 @@ GIMP_RANDOM_SEED_TOGGLEBUTTON
gimp_random_seed_new
GIMP_COORDINATES_CHAINBUTTON
gimp_coordinates_new
GIMP_MEM_SIZE_ENTRY_SPINBUTTON
GIMP_MEM_SIZE_ENTRY_SPINBUTTON_ADJ
GIMP_MEM_SIZE_ENTRY_OPTIONMENU
gimp_mem_size_entry_new
GIMP_MEMSIZE_ENTRY_SPINBUTTON
GIMP_MEMSIZE_ENTRY_SPINBUTTON_ADJ
GIMP_MEMSIZE_ENTRY_OPTIONMENU
gimp_memsize_entry_new
gimp_pixmap_button_new
gimp_toggle_button_sensitive_update
gimp_toggle_button_update