app: save the "gimp-xcf-compatibility-mode" parasite in network byte order

This commit is contained in:
Michael Natterer 2015-10-31 19:28:36 +01:00
parent feb0790cc4
commit 1b2076cf69
1 changed files with 4 additions and 1 deletions

View File

@ -416,8 +416,11 @@ xcf_save_image_props (XcfInfo *info,
gint gimp_version;
/* Save the GIMP version we are trying to get compatible with.
* This specific information is unused as of now though. */
* This specific information is unused as of now though.
*/
gimp_image_get_xcf_version (image, FALSE, &gimp_version, NULL);
gimp_version = g_htonl (gimp_version);
compat_parasite = gimp_parasite_new ("gimp-xcf-compatibility-mode",
GIMP_PARASITE_PERSISTENT,
sizeof (gimp_version),