gimp-image-is-dirty

Spencer Kimball & Peter Mattis

Description

Checks if the image has unsaved changes.

Help

This procedure checks the specified image's dirty count to see if it needs to be saved. Note that saving the image does not automatically set the dirty count to 0, you need to call 'gimp-image-clean-all' after calling a save procedure to make the image clean.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image

Return

Type Name Description
PF_INT dirty TRUE if the image has unsaved changes. (TRUE or FALSE)