removed redundant call to xcf_save_prop() for PROP_PARASITES. Spotted by

2006-07-06  Sven Neumann  <sven@gimp.org>

	* app/xcf/xcf-save.c (xcf_save_image_props): removed redundant
	call to xcf_save_prop() for PROP_PARASITES. Spotted by Henning
	Makholm (bug #346754).
This commit is contained in:
Sven Neumann 2006-07-06 14:27:18 +00:00 committed by Sven Neumann
parent 3c2639ad46
commit d6defc8b2c
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2006-07-06 Sven Neumann <sven@gimp.org>
* app/xcf/xcf-save.c (xcf_save_image_props): removed redundant
call to xcf_save_prop() for PROP_PARASITES. Spotted by Henning
Makholm (bug #346754).
2006-07-06 Sven Neumann <sven@gimp.org>
* app/xcf/xcf-load.c (xcf_load_vector): applied a patch from

View File

@ -436,10 +436,6 @@ xcf_save_image_props (XcfInfo *info,
xcf_check_error (xcf_save_prop (info, image, PROP_TATTOO, error,
image->tattoo_state));
if (gimp_parasite_list_length (image->parasites) > 0)
xcf_check_error (xcf_save_prop (info, image, PROP_PARASITES,
error, image->parasites));
if (unit < _gimp_unit_get_number_of_built_in_units (image->gimp))
xcf_check_error (xcf_save_prop (info, image, PROP_UNIT, error, unit));