[gimp] app: save the "gimp-xcf-compatibility-mode" parasite in network byte order
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: save the "gimp-xcf-compatibility-mode" parasite in network byte order
- Date: Sat, 31 Oct 2015 18:29:52 +0000 (UTC)
commit 1b2076cf69587b7443118f0d6a65f377d65beaa9
Author: Michael Natterer <mitch gimp org>
Date: Sat Oct 31 19:28:36 2015 +0100
app: save the "gimp-xcf-compatibility-mode" parasite in network byte order
app/xcf/xcf-save.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/app/xcf/xcf-save.c b/app/xcf/xcf-save.c
index 89460e1..5ada022 100644
--- a/app/xcf/xcf-save.c
+++ b/app/xcf/xcf-save.c
@@ -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),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]