summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-01 11:26:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-01 11:26:40 (EDT)
commit445993e974fc72cf2c9634bfe7f37e3b6171549e (patch)
tree06995de4d9940cbee989f229729069f4574d6c58
parent50fe0d29337a6a78fe2913363e605de6a4e28309 (diff)
downloadmarquee-445993e974fc72cf2c9634bfe7f37e3b6171549e.zip
marquee-445993e974fc72cf2c9634bfe7f37e3b6171549e.tar.gz
marquee-445993e974fc72cf2c9634bfe7f37e3b6171549e.tar.bz2
MqSettings: Delete extra "never" cookie accept policy branch
-rw-r--r--src/settings.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/settings.c b/src/settings.c
index c8595f9..a271613 100644
--- a/src/settings.c
+++ b/src/settings.c
@@ -337,9 +337,6 @@ cm_accept_policy_cb(MqConfig G_GNUC_UNUSED *config,
} else if (g_strcmp0(value, "never") == 0) {
webkit_cookie_manager_set_accept_policy(cookie_manager,
WEBKIT_COOKIE_POLICY_ACCEPT_NEVER);
- } else if (g_strcmp0(value, "never") == 0) {
- webkit_cookie_manager_set_accept_policy(cookie_manager,
- WEBKIT_COOKIE_POLICY_ACCEPT_NEVER);
} else if (g_strcmp0(value, "no-third-party") == 0) {
webkit_cookie_manager_set_accept_policy(cookie_manager,
WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY);