[gimp] plug-ins: the "icc-profile" parasite must be undoable



commit 3cda160fc1b489f0d4a3120495c08b42b8af7e31
Author: Michael Natterer <mitch gimp org>
Date:   Sat Apr 18 23:57:10 2015 +0200

    plug-ins: the "icc-profile" parasite must be undoable

 plug-ins/file-psd/psd-image-res-load.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-psd/psd-image-res-load.c b/plug-ins/file-psd/psd-image-res-load.c
index be14456..645dd70 100644
--- a/plug-ins/file-psd/psd-image-res-load.c
+++ b/plug-ins/file-psd/psd-image-res-load.c
@@ -1110,7 +1110,8 @@ load_resource_1039 (const PSDimageres  *res_a,
     }
 
   parasite = gimp_parasite_new (GIMP_PARASITE_ICC_PROFILE,
-                                GIMP_PARASITE_PERSISTENT,
+                                GIMP_PARASITE_PERSISTENT |
+                                GIMP_PARASITE_UNDOABLE,
                                 res_a->data_len, icc_profile);
   gimp_image_attach_parasite (image_id, parasite);
   gimp_parasite_free (parasite);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]