Commit 376b23f9 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

converted error messages that should never appear to warnings.

2004-11-14  Sven Neumann  <sven@gimp.org>

	* app/actions/image-commands.c: converted error messages that should
	never appear to warnings.
parent ff7f8b5f
2004-11-14 Sven Neumann <sven@gimp.org>
* app/actions/image-commands.c: converted error messages that should
never appear to warnings.
2004-11-14 DindinX <dindinx@gimp.org>
 
* plug-ins/gfig/gfig-dialog.c
......
......@@ -460,8 +460,8 @@ image_resize_callback (GtkWidget *dialog,
}
else
{
g_message (_("Resize Error: Both width and height must be "
"greater than zero."));
g_warning ("Resize Error: "
"Both width and height must be greater than zero.");
}
}
......@@ -475,6 +475,11 @@ image_print_size_callback (GtkWidget *dialog,
{
gtk_widget_destroy (dialog);
if (xresolution == image->xresolution &&
yresolution == image->yresolution &&
resolution_unit == image->resolution_unit)
return;
gimp_image_undo_group_start (image, GIMP_UNDO_GROUP_IMAGE_SCALE,
_("Change Print Size"));
......@@ -508,7 +513,7 @@ image_scale_callback (ImageScaleDialog *dialog)
if (dialog->width != image->width || dialog->height != image->height)
{
if (dialog->width > 0 && dialog->height > 0)
if (dialog->width > 0 && dialog->height > 0)
{
GimpProgress *progress;
......@@ -526,8 +531,8 @@ image_scale_callback (ImageScaleDialog *dialog)
}
else
{
g_message (_("Scale Error: "
"Both width and height must be greater than zero."));
g_warning ("Scale Error: "
"Both width and height must be greater than zero.");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment