From 03d457e1fcc30913c79ffbd89a0028cf50426d5c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 6 Jul 2003 11:48:37 +0000 Subject: *** empty log message *** --- embed/ephy-favicon-cache.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'embed') diff --git a/embed/ephy-favicon-cache.c b/embed/ephy-favicon-cache.c index b4fdc2884..d5b7374b3 100644 --- a/embed/ephy-favicon-cache.c +++ b/embed/ephy-favicon-cache.c @@ -29,7 +29,7 @@ #include "ephy-node.h" #include "ephy-debug.h" -#define EPHY_FAVICON_CACHE_XML_VERSION "0.1" +#define EPHY_FAVICON_CACHE_XML_VERSION "1.0" #define EPHY_FAVICON_CACHE_OBSOLETE_DAYS 30 @@ -124,7 +124,6 @@ ephy_favicon_cache_load (EphyFaviconCache *eb) { xmlDocPtr doc; xmlNodePtr root, child; - char *tmp; if (g_file_test (eb->priv->xml_file, G_FILE_TEST_EXISTS) == FALSE) return; @@ -134,10 +133,6 @@ ephy_favicon_cache_load (EphyFaviconCache *eb) root = xmlDocGetRootElement (doc); - tmp = xmlGetProp (root, "version"); - g_assert (tmp != NULL && strcmp (tmp, EPHY_FAVICON_CACHE_XML_VERSION) == 0); - g_free (tmp); - for (child = root->children; child != NULL; child = child->next) { EphyNode *node; @@ -265,7 +260,7 @@ ephy_favicon_cache_init (EphyFaviconCache *cache) cache->priv = g_new0 (EphyFaviconCachePrivate, 1); - db = ephy_node_db_new ("EphyFaviconCache"); + db = ephy_node_db_new (EPHY_NODE_DB_SITEICONS); cache->priv->db = db; cache->priv->xml_file = g_build_filename (ephy_dot_dir (), -- cgit v1.2.3