plug-ins/common/lcms.c (lcms_load_profile) fixed error messages.

2008-01-28  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/lcms.c (lcms_load_profile)
	* plug-ins/common/wmf.c (load_image): fixed error messages.

svn path=/trunk/; revision=24732
This commit is contained in:
Sven Neumann
2008-01-28 17:04:46 +00:00
committed by Sven Neumann
parent 343d0e83d5
commit 9c4ec2ec2f
3 changed files with 8 additions and 7 deletions

View File

@ -795,8 +795,7 @@ lcms_image_set_profile (gint32 image,
if (! file)
{
g_message (_("Could not open '%s' for reading: %s"),
gimp_filename_to_utf8 (filename), error->message);
g_message (error->message);
g_error_free (error);
return FALSE;
@ -1100,9 +1099,7 @@ lcms_load_profile (const gchar *filename,
if (! file)
{
g_message (_("Could not open '%s' for reading: %s"),
gimp_filename_to_utf8 (filename),
error->message);
g_message (error->message);
g_error_free (error);
return NULL;