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

@ -1,3 +1,8 @@
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.
2008-01-28 Michael Natterer <mitch@gimp.org>
* app/dialogs/keyboard-shortcuts-dialog.c

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;

View File

@ -977,8 +977,7 @@ load_image (const gchar *filename)
{
if (error)
{
g_message (_("Could not open '%s' for reading: %s"),
gimp_filename_to_utf8 (filename), error->message);
g_message (error->message);
g_error_free (error);
}
else