aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-12 01:36:15 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-12 01:36:15 +0800
commitfa0d7a25b665db353b859e3785271d02dfb2be36 (patch)
tree945a938820aa10220a80e7c93403585668169b0f /embed/mozilla
parent70b3c5658c449f89369e86d6943a944473facf26 (diff)
downloadgsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar.gz
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar.bz2
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar.lz
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar.xz
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.tar.zst
gsoc2013-epiphany-fa0d7a25b665db353b859e3785271d02dfb2be36.zip
Use the enums instead of ints.
2005-01-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/mozilla/EphySingle.cpp: Use the enums instead of ints.
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/EphySingle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphySingle.cpp b/embed/mozilla/EphySingle.cpp
index 29deaa230..6e27194d5 100644
--- a/embed/mozilla/EphySingle.cpp
+++ b/embed/mozilla/EphySingle.cpp
@@ -278,11 +278,11 @@ mozilla_cookie_to_ephy_cookie (nsICookie *cookie)
nsCookieStatus status;
cookie->GetStatus (&status);
- info->p3p_state = status;
+ info->p3p_state = (EphyCookieP3PState) status;
nsCookiePolicy policy;
cookie->GetPolicy (&policy);
- info->p3p_policy = policy;
+ info->p3p_policy = (EphyCookieP3PPolicy) policy;
PRUint64 dateTime;
cookie->GetExpires (&dateTime);