app: don't need an attached item for applying an op to tiles/buffers

This commit is contained in:
Michael Natterer 2012-03-16 11:56:21 +01:00
parent 169221bc51
commit 52d033e2c1
1 changed files with 0 additions and 2 deletions

View File

@ -137,7 +137,6 @@ gimp_drawable_apply_operation_to_buffer (GimpDrawable *drawable,
GeglRectangle rect;
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
g_return_if_fail (gimp_item_is_attached (GIMP_ITEM (drawable)));
g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
g_return_if_fail (progress == NULL || undo_desc != NULL);
g_return_if_fail (GEGL_IS_NODE (operation));
@ -171,7 +170,6 @@ gimp_drawable_apply_operation_to_tiles (GimpDrawable *drawable,
GeglBuffer *dest_buffer;
g_return_if_fail (GIMP_IS_DRAWABLE (drawable));
g_return_if_fail (gimp_item_is_attached (GIMP_ITEM (drawable)));
g_return_if_fail (progress == NULL || GIMP_IS_PROGRESS (progress));
g_return_if_fail (progress == NULL || undo_desc != NULL);
g_return_if_fail (GEGL_IS_NODE (operation));