diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-cookie-manager.h | 3 | ||||
-rw-r--r-- | embed/ephy-favicon-cache.c | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/embed/ephy-cookie-manager.h b/embed/ephy-cookie-manager.h index 3b4bf84f1..6ff97f8cc 100644 --- a/embed/ephy-cookie-manager.h +++ b/embed/ephy-cookie-manager.h @@ -24,6 +24,7 @@ #include <glib-object.h> #include <glib.h> +#include <time.h> G_BEGIN_DECLS @@ -45,7 +46,7 @@ typedef struct char *value; char *domain; char *path; - gulong expires; + time_t expires; glong real_expires; guint is_secure : 1; guint is_session : 1; diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index 0e283e229..83c14ffad 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -36,8 +36,8 @@ #include "ephy-node.h" #include "ephy-debug.h" -#define EPHY_FAVICON_CACHE_XML_ROOT "ephy_favicons_cache" -#define EPHY_FAVICON_CACHE_XML_VERSION "1.1" +#define EPHY_FAVICON_CACHE_XML_ROOT (const xmlChar *)"ephy_favicons_cache" +#define EPHY_FAVICON_CACHE_XML_VERSION (const xmlChar *)"1.1" #define EPHY_FAVICON_CACHE_OBSOLETE_DAYS 30 @@ -287,7 +287,7 @@ ephy_favicon_cache_finalize (GObject *object) remove_obsolete_icons (cache); ephy_node_db_write_to_xml_safe - (cache->priv->db, cache->priv->xml_file, + (cache->priv->db, (const xmlChar *)cache->priv->xml_file, EPHY_FAVICON_CACHE_XML_ROOT, EPHY_FAVICON_CACHE_XML_VERSION, NULL, |