summaryrefslogtreecommitdiff
path: root/embed/ephy-uri-tester.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2016-10-29 17:17:09 -0500
committerMichael Catanzaro <mcatanzaro@gnome.org>2016-10-29 17:18:32 -0500
commit3487dd22e3e591063cee49d32eff55c951083188 (patch)
treefd428c8ff9fac57c03670a3f84de46a5743a8761 /embed/ephy-uri-tester.c
parent03d53f0149f65d379206fe4e6c90da7d71271b32 (diff)
downloadepiphany-3487dd22e3e591063cee49d32eff55c951083188.tar.gz
uri-tester: Avoid spurious HTTPS Everywhere update warning
This is not an unexpected condition, we don't need to warn about it.
Diffstat (limited to 'embed/ephy-uri-tester.c')
-rw-r--r--embed/ephy-uri-tester.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/embed/ephy-uri-tester.c b/embed/ephy-uri-tester.c
index 61428f576..c645bfef9 100644
--- a/embed/ephy-uri-tester.c
+++ b/embed/ephy-uri-tester.c
@@ -988,6 +988,7 @@ https_everywhere_update_cb (HTTPSEverywhereUpdater *updater,
if (error) {
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
+ !g_error_matches (error, HTTPS_EVERYWHERE_UPDATE_ERROR, HTTPS_EVERYWHERE_UPDATE_ERROR_IN_PROGRESS) &&
!g_error_matches (error, HTTPS_EVERYWHERE_UPDATE_ERROR, HTTPS_EVERYWHERE_UPDATE_ERROR_NO_UPDATE_AVAILABLE))
g_warning ("Failed to update HTTPS Everywhere rulesets: %s", error->message);
g_error_free (error);