[gimp] app: unset the "icc-profile-name" parasite when a profile is assigned
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: unset the "icc-profile-name" parasite when a profile is assigned
- Date: Sun, 16 Aug 2015 18:55:13 +0000 (UTC)
commit 68514d0cbd78e5f83b5bded35a36b33ce9cb75e3
Author: Michael Natterer <mitch gimp org>
Date: Sun Aug 16 20:54:16 2015 +0200
app: unset the "icc-profile-name" parasite when a profile is assigned
app/dialogs/color-profile-dialog.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/dialogs/color-profile-dialog.c b/app/dialogs/color-profile-dialog.c
index 8c36148..9ae51f3 100644
--- a/app/dialogs/color-profile-dialog.c
+++ b/app/dialogs/color-profile-dialog.c
@@ -401,6 +401,10 @@ color_profile_dialog_response (GtkWidget *widget,
success = gimp_image_set_color_profile (dialog->image,
dest_profile,
&error);
+
+ /* omg... */
+ if (success)
+ gimp_image_parasite_detach (dialog->image, "icc-profile-name");
}
if (success)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]