From a671f8fd5bcd754e3eb4b7ff0a53f078da80431a Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 23 Dec 2009 16:01:24 +0100 Subject: [PATCH] Remove unused Original cookies only preference If we implement it, a new value in accept-cookies is good enough. --- midori/midori-preferences.c | 2 -- midori/midori-websettings.c | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/midori/midori-preferences.c b/midori/midori-preferences.c index d1645d9c..a2c58c4d 100644 --- a/midori/midori-preferences.c +++ b/midori/midori-preferences.c @@ -504,8 +504,6 @@ midori_preferences_set_settings (MidoriPreferences* preferences, INDENTED_ADD (label); button = katze_property_proxy (settings, "accept-cookies", NULL); SPANNED_ADD (button); - button = katze_property_proxy (settings, "original-cookies-only", NULL); - INDENTED_ADD (button); label = katze_property_label (settings, "maximum-cookie-age"); INDENTED_ADD (label); entry = katze_property_proxy (settings, "maximum-cookie-age", NULL); diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index e8ce8b9c..6fb0ea6a 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -906,6 +906,13 @@ midori_web_settings_class_init (MidoriWebSettingsClass* class) MIDORI_ACCEPT_COOKIES_ALL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * MidoriWebSettings:original-cookies-only: + * + * Accept cookies from the original website only. + * + * Deprecated: 0.2.3: This value is not used. + */ g_object_class_install_property (gobject_class, PROP_ORIGINAL_COOKIES_ONLY, g_param_spec_boolean ( -- 2.39.5