diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-23 07:07:50 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-06-23 07:07:50 +0800 |
commit | b0749c90570cf9ad796c02d0636fece080054008 (patch) | |
tree | 221258565b7b5410bbffd603bf532bc5f3317c23 /embed | |
parent | ca789c035a4c74bfaf25b52d8d73c4685d4eb91f (diff) | |
download | gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar.gz gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar.bz2 gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar.lz gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar.xz gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.tar.zst gsoc2013-epiphany-b0749c90570cf9ad796c02d0636fece080054008.zip |
*** empty log message ***
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-history.c | 9 |
1 files changed, 2 insertions, 7 deletions
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 <bonobo/bonobo-i18n.h> #include <libgnomevfs/gnome-vfs-uri.h> -#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 (), |