diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-cookie-manager.c | 4 | ||||
-rw-r--r-- | embed/ephy-cookie-manager.h | 6 | ||||
-rw-r--r-- | embed/ephy-password-manager.c | 2 | ||||
-rw-r--r-- | embed/ephy-password-manager.h | 2 | ||||
-rw-r--r-- | embed/ephy-permission-manager.c | 2 | ||||
-rw-r--r-- | embed/ephy-permission-manager.h | 2 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 2 |
7 files changed, 10 insertions, 10 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); 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); diff --git a/embed/ephy-password-manager.c b/embed/ephy-password-manager.c index d9b7e8dc2..14de93d79 100644 --- a/embed/ephy-password-manager.c +++ b/embed/ephy-password-manager.c @@ -75,7 +75,7 @@ ephy_password_info_new (const char *host, * Return value: a copy of @info **/ EphyPasswordInfo * -ephy_password_info_copy (EphyPasswordInfo *info) +ephy_password_info_copy (const EphyPasswordInfo *info) { EphyPasswordInfo *copy = g_new0 (EphyPasswordInfo, 1); diff --git a/embed/ephy-password-manager.h b/embed/ephy-password-manager.h index 34d33b0f9..d8ff42943 100644 --- a/embed/ephy-password-manager.h +++ b/embed/ephy-password-manager.h @@ -66,7 +66,7 @@ EphyPasswordInfo *ephy_password_info_new (const char *host, const char *username, const char *password); -EphyPasswordInfo *ephy_password_info_copy (EphyPasswordInfo *info); +EphyPasswordInfo *ephy_password_info_copy (const EphyPasswordInfo *info); void ephy_password_info_free (EphyPasswordInfo *info); diff --git a/embed/ephy-permission-manager.c b/embed/ephy-permission-manager.c index c2518b94c..9ef7512a9 100644 --- a/embed/ephy-permission-manager.c +++ b/embed/ephy-permission-manager.c @@ -73,7 +73,7 @@ ephy_permission_info_new (const char *host, * Return value: a copy of @info **/ EphyPermissionInfo * -ephy_permission_info_copy (EphyPermissionInfo *info) +ephy_permission_info_copy (const EphyPermissionInfo *info) { EphyPermissionInfo *copy = g_new0 (EphyPermissionInfo, 1); diff --git a/embed/ephy-permission-manager.h b/embed/ephy-permission-manager.h index 1afa829ea..644797925 100644 --- a/embed/ephy-permission-manager.h +++ b/embed/ephy-permission-manager.h @@ -90,7 +90,7 @@ EphyPermissionInfo *ephy_permission_info_new (const char *host, EphyPermissionType type, gboolean allowed); -EphyPermissionInfo *ephy_permission_info_copy (EphyPermissionInfo *info); +EphyPermissionInfo *ephy_permission_info_copy (const EphyPermissionInfo *info); void ephy_permission_info_free (EphyPermissionInfo *info); diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index 55bac6535..63fce2f09 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -638,7 +638,7 @@ impl_list_cookies (EphyCookieManager *manager) static void impl_remove_cookie (EphyCookieManager *manager, - EphyCookie *cookie) + const EphyCookie *cookie) { nsresult rv; nsCOMPtr<nsICookieManager> cookieManager = |