aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorJean-François Rameau <jframeau@cvs.gnome.org>2005-07-04 05:38:55 +0800
committerJean-François Rameau <jframeau@src.gnome.org>2005-07-04 05:38:55 +0800
commit0e935c597fe2e3e00f672b98f77eaebf48660857 (patch)
tree158d7f1f7afde6398bb207805c77dc864018d6ae /embed
parentb0488b2a6c81ef558613c34fb398a111643b72e3 (diff)
downloadgsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.gz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.bz2
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.lz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.xz
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.tar.zst
gsoc2013-epiphany-0e935c597fe2e3e00f672b98f77eaebf48660857.zip
EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).
2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-cookie-manager.h3
-rw-r--r--embed/ephy-favicon-cache.c6
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,