aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-cookie-manager.h
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.h
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.h')
-rw-r--r--embed/ephy-cookie-manager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/embed/ephy-cookie-manager.h b/embed/ephy-cookie-manager.h
index c82ace19e..c7ae0adc6 100644
--- a/embed/ephy-cookie-manager.h
+++ b/embed/ephy-cookie-manager.h
@@ -90,7 +90,7 @@ struct EphyCookieManagerIFace
/* Methods */
GList * (* list) (EphyCookieManager *manager);
void (* remove) (EphyCookieManager *manager,
- EphyCookie *cookie);
+ const EphyCookie *cookie);
void (* clear) (EphyCookieManager *manager);
};
@@ -100,7 +100,7 @@ GType ephy_cookie_get_type (void);
EphyCookie *ephy_cookie_new (void);
-EphyCookie *ephy_cookie_copy (EphyCookie *cookie);
+EphyCookie *ephy_cookie_copy (const EphyCookie *cookie);
void ephy_cookie_free (EphyCookie *cookie);
@@ -111,7 +111,7 @@ GType ephy_cookie_manager_get_type (void);
GList * ephy_cookie_manager_list_cookies (EphyCookieManager *manager);
void ephy_cookie_manager_remove_cookie (EphyCookieManager *manager,
- EphyCookie *cookie);
+ const EphyCookie *cookie);
void ephy_cookie_manager_clear (EphyCookieManager *manager);