> The function gimp-drawable-type-with-alpha wasn't > completely guarded. Calling it with a non-existent > drawable would cause a crash. > We force a crash in that place (by using a g_assert) since something has gone wrong. With your patch we would return a perfectly valid image_type and gimp would continue, but a few function calls later it would certainly crash. I have inserted a few more g_return_if_fail (GIMP_IS_DRAWABLE (drawable)) and friends which should help to locate problems early. Salut, Sven