aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-cookie-manager.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-26 21:26:38 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-26 21:26:38 +0800
commita80d75f2179aba2078b0d042fec4c24b4e01f729 (patch)
treee99ef8f1079d7cd206aa145bf766bfe2e768e4de /embed/ephy-cookie-manager.c
parentf532ac410a72d0f0948dfdfe2e4d157dcb5aadb5 (diff)
downloadgsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar.gz
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar.bz2
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar.lz
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar.xz
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.tar.zst
gsoc2013-epiphany-a80d75f2179aba2078b0d042fec4c24b4e01f729.zip
Mark parameters "const" where appropriate.
2003-11-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_copy), (ephy_cookie_manager_remove_cookie): * embed/ephy-cookie-manager.h: * embed/ephy-password-manager.c: (ephy_password_info_copy): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_copy): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: Mark parameters "const" where appropriate. * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies), (cookie_to_iter), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_fill_passwords_list), (pdm_dialog_init): Make the cookies list auto-updating.
Diffstat (limited to 'embed/ephy-cookie-manager.c')
-rw-r--r--embed/ephy-cookie-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/ephy-cookie-manager.c b/embed/ephy-cookie-manager.c
index df079bddf..321384579 100644
--- a/embed/ephy-cookie-manager.c
+++ b/embed/ephy-cookie-manager.c
@@ -58,7 +58,7 @@ ephy_cookie_new (void)
* Return value: a copy of @cookie.
**/
EphyCookie *
-ephy_cookie_copy (EphyCookie *cookie)
+ephy_cookie_copy (const EphyCookie *cookie)
{
EphyCookie *copy = g_new0 (EphyCookie, 1);
@@ -242,7 +242,7 @@ ephy_cookie_manager_list_cookies (EphyCookieManager *manager)
**/
void
ephy_cookie_manager_remove_cookie (EphyCookieManager *manager,
- EphyCookie *cookie)
+ const EphyCookie *cookie)
{
EphyCookieManagerIFace *iface = EPHY_COOKIE_MANAGER_GET_CLASS (manager);
iface->remove (manager, cookie);