fixed a bug that I introduced earlier today.

2007-08-08  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug
	that I introduced earlier today.


svn path=/trunk/; revision=23153
This commit is contained in:
Sven Neumann 2007-08-08 18:03:29 +00:00 committed by Sven Neumann
parent 46fc994030
commit abbd60c5e6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-08-08 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c (lcms_image_get_profile): fixed a bug
that I introduced earlier today.
2007-08-08 Sven Neumann <sven@gimp.org>
* app/widgets/gimpprofilechooserdialog.[ch]: use a text view in a

View File

@ -685,8 +685,6 @@ lcms_image_get_profile (GimpColorConfig *config,
profile = cmsOpenProfileFromMem ((gpointer) gimp_parasite_data (parasite),
gimp_parasite_data_size (parasite));
gimp_parasite_free (parasite);
if (profile)
{
lcms_calculate_checksum (gimp_parasite_data (parasite),
@ -698,6 +696,8 @@ lcms_image_get_profile (GimpColorConfig *config,
g_message (_("Data attached as 'icc-profile' does not appear to "
"be an ICC color profile"));
}
gimp_parasite_free (parasite);
}
else if (config->rgb_profile)
{