Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hspell: Correct usage of g_return_val_if_fail and g_warning
Epiphany's commit #70f8362e treats critical warnings as fatal, causing epiphany to crash when hspell_convert_to_iso8859_8 fails instead of just logging a warning. The g_return_val_if_fail macro is intended to validate parameters passed to a function, meaning it should only be used to indicate programmer errors. This commit replace g_return_val_if_fail with g_warning for checking the result of hspell_convert_to_iso8859_8. Fix #394
- Loading branch information