GNOME Bugzilla – Bug 346754
Most parasites saved twice in XCF files
Last modified: 2006-07-06 14:33:36 UTC
The function xcf_image_save_props() in app/xcf/xcf-save.c contains two (almost) identical calls of xcf_check_error (xcf_save_prop (info, image, PROP_PARASITES, error, image->parasites)); - one comes before the grid has been serialized to a parasite, and the other comes after. As a result, all _other_ parasites than the grid one will get written twice to the XCF file. That does not hurt, but is a bit untidy and wasteful. The first call can be removed without any ill effects that I can see.
Thanks for the report. Fixed in both branches: 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).