From b0749c90570cf9ad796c02d0636fece080054008 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 22 Jun 2003 23:07:50 +0000 Subject: *** empty log message *** --- embed/ephy-history.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'embed/ephy-history.c') diff --git a/embed/ephy-history.c b/embed/ephy-history.c index 13890b89a..097b70d5c 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -32,7 +32,7 @@ #include #include -#define EPHY_HISTORY_XML_VERSION "0.1" +#define EPHY_HISTORY_XML_VERSION "1.0" /* how often to save the history, in milliseconds */ #define HISTORY_SAVE_INTERVAL (60 * 5 * 1000) @@ -201,7 +201,6 @@ ephy_history_load (EphyHistory *eb) { xmlDocPtr doc; xmlNodePtr root, child; - char *tmp; if (g_file_test (eb->priv->xml_file, G_FILE_TEST_EXISTS) == FALSE) return; @@ -211,10 +210,6 @@ ephy_history_load (EphyHistory *eb) root = xmlDocGetRootElement (doc); - tmp = xmlGetProp (root, "version"); - g_assert (tmp != NULL && strcmp (tmp, EPHY_HISTORY_XML_VERSION) == 0); - g_free (tmp); - for (child = root->children; child != NULL; child = child->next) { EphyNode *node; @@ -419,7 +414,7 @@ ephy_history_init (EphyHistory *eb) eb->priv = g_new0 (EphyHistoryPrivate, 1); - db = ephy_node_db_new ("EphyHistory"); + db = ephy_node_db_new (EPHY_NODE_DB_HISTORY); eb->priv->db = db; eb->priv->xml_file = g_build_filename (ephy_dot_dir (), -- cgit v1.2.3