aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-06 19:48:37 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-07-06 19:48:37 +0800
commit03d457e1fcc30913c79ffbd89a0028cf50426d5c (patch)
treedcb62e52e32051bf1dc464119a498d6c2167b63a /embed
parente34a73d3a57c3cdba064b6790874ac77dfc60b74 (diff)
downloadgsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar.gz
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar.bz2
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar.lz
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar.xz
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.tar.zst
gsoc2013-epiphany-03d457e1fcc30913c79ffbd89a0028cf50426d5c.zip
*** empty log message ***
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-favicon-cache.c9
1 files changed, 2 insertions, 7 deletions
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 (),