mirror of https://github.com/GNOME/gimp.git
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:
parent
343d0e83d5
commit
9c4ec2ec2f
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue