oops, GIMP_IS_DRAWABLE(gimage) will always fail :-) fixed.

2001-12-17  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpimage-mask.c: oops, GIMP_IS_DRAWABLE(gimage) will
	always fail :-) fixed.
This commit is contained in:
Michael Natterer 2001-12-17 13:18:19 +00:00 committed by Michael Natterer
parent a30b11c9d7
commit 9901ec4846
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-12-17 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-mask.c: oops, GIMP_IS_DRAWABLE(gimage) will
always fail :-) fixed.
2001-12-17 Sven Neumann <sven@gimp.org>
* gimpconfig.[ch]: don't serialize unknown tokens; leave that to

View File

@ -222,7 +222,7 @@ gimp_image_mask_extract (GimpImage *gimage,
gboolean non_empty;
g_return_val_if_fail (GIMP_IS_IMAGE (gimage), NULL);
g_return_val_if_fail (GIMP_IS_DRAWABLE (gimage), NULL);
g_return_val_if_fail (GIMP_IS_DRAWABLE (drawable), NULL);
/* If there are no bounds, then just extract the entire image
* This may not be the correct behavior, but after getting rid