Commit 16e0b4fa authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

warn if the image has no active drawable instead of silently returning.

2003-07-08  Sven Neumann  <sven@gimp.org>

	* app/gui/file-commands.c (file_save_cmd_callback): warn if the
	image has no active drawable instead of silently returning. Not
	sure if this is correct, but it could help to resolve #116936.
parent a4f2a2d3
2003-07-08 Sven Neumann <sven@gimp.org>
* app/gui/file-commands.c (file_save_cmd_callback): warn if the
image has no active drawable instead of silently returning. Not
sure if this is correct, but it could help to resolve #116936.
2003-07-08 Sven Neumann <sven@gimp.org>
* app/tools/gimpcolorpickertool.c: show the alpha value in percent
......@@ -217,8 +217,7 @@ file_save_cmd_callback (GtkWidget *widget,
GimpDisplay *gdisp;
return_if_no_display (gdisp, data);
if (! gimp_image_active_drawable (gdisp->gimage))
return;
g_return_if_fail (gimp_image_active_drawable (gdisp->gimage));
/* Only save if the gimage has been modified */
if (gdisp->gimage->dirty ||
......
......@@ -217,8 +217,7 @@ file_save_cmd_callback (GtkWidget *widget,
GimpDisplay *gdisp;
return_if_no_display (gdisp, data);
if (! gimp_image_active_drawable (gdisp->gimage))
return;
g_return_if_fail (gimp_image_active_drawable (gdisp->gimage));
/* Only save if the gimage has been modified */
if (gdisp->gimage->dirty ||
......
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