From d6defc8b2ca18f00790f6c2d35a15bfc1c870494 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Thu, 6 Jul 2006 14:27:18 +0000 Subject: [PATCH] removed redundant call to xcf_save_prop() for PROP_PARASITES. Spotted by 2006-07-06 Sven Neumann * 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). --- ChangeLog | 6 ++++++ app/xcf/xcf-save.c | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index d9d444df41..fe247209af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-07-06 Sven Neumann + + * 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 * app/xcf/xcf-load.c (xcf_load_vector): applied a patch from diff --git a/app/xcf/xcf-save.c b/app/xcf/xcf-save.c index f9a0389fb4..8a167dca92 100644 --- a/app/xcf/xcf-save.c +++ b/app/xcf/xcf-save.c @@ -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));