[gimp] app: use gimp_parasite_name() instead of parasite->name in gimpimage.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use gimp_parasite_name() instead of parasite->name in gimpimage.c
- Date: Mon, 17 Mar 2014 01:31:07 +0000 (UTC)
commit a83851eb373180da189516e5dd235be7fe7c9096
Author: Michael Natterer <mitch gimp org>
Date: Mon Mar 17 02:27:01 2014 +0100
app: use gimp_parasite_name() instead of parasite->name in gimpimage.c
app/core/gimpimage.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpimage.c b/app/core/gimpimage.c
index 9bbff73..f18da62 100644
--- a/app/core/gimpimage.c
+++ b/app/core/gimpimage.c
@@ -3087,9 +3087,9 @@ gimp_image_parasite_attach (GimpImage *image,
}
g_signal_emit (image, gimp_image_signals[PARASITE_ATTACHED], 0,
- parasite->name);
+ gimp_parasite_name (parasite));
- if (strcmp (parasite->name, GIMP_ICC_PROFILE_PARASITE_NAME) == 0)
+ if (strcmp (gimp_parasite_name (parasite), GIMP_ICC_PROFILE_PARASITE_NAME) == 0)
gimp_color_managed_profile_changed (GIMP_COLOR_MANAGED (image));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]