GNOME Bugzilla – Bug 697095
critical assertion on startup when spell checking is disabled
Last modified: 2015-02-03 15:21:02 UTC
If spell checking is disabled in Epiphany's preferences, then I see this critical assertion in the console every time I start Epiphany: ** (epiphany:23217): CRITICAL **: void webkit_web_context_set_spell_checking_languages(WebKitWebContext*, const gchar* const*): assertion `languages' failed
Created attachment 294717 [details] [review] Reorganize webkit_pref_callback_enable_spell_checking Notably, don't call webkit_web_context_set_spell_checking_languages with NULL, to avoid a critical warning.
Created attachment 294718 [details] [review] embed-prefs: avoid a critical warning Alternative patch: a smaller diff that makes it easier to see what's going on, but this function is begging to be simplified, so I prefer my first patch.
Review of attachment 294717 [details] [review]: Thanks
Review of attachment 294718 [details] [review]: Both patches are about the same fix, you could probably squash them before landing
They're alternative patches; I will commit the first patch since it makes the code nicer.
Attachment 294717 [details] pushed as 3cc9ca4 - Reorganize webkit_pref_callback_enable_spell_checking