Diffusion Krita 5953d562b657

Complete handling of all fatalX errors in xcf lib

Authored by tymond on May 16 2019, 11:18 AM.

Description

Complete handling of all fatalX errors in xcf lib

Before this commit some fatalX calls didn't have return
just after the call, because the library assumed that xcf
will die anyway. Since we want to return an error instead
of killing xcf (and Krita in the process), we need to assure
that all fatalX calls are followed by return with some indication
of an error. This commit does exactly that.

There are still some functions that returns int (error/ok code)
but the return value is not checked by callers.

Details

Committed
tymondMay 16 2019, 11:18 AM
Parents
R37:66f67a1f359c: Fix xcf closing Krita in case of parsing errors
Branches
Unknown
Tags
Unknown