diff options
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r-- | embed/ephy-history.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c index 31873b51f..e6c8f08c9 100644 --- a/embed/ephy-history.c +++ b/embed/ephy-history.c @@ -256,6 +256,13 @@ remove_obsolete_pages (EphyHistory *eb) } } +static gboolean +save_filter (EphyNode *node, + EphyNode *page_node) +{ + return node != page_node; +} + static void ephy_history_save (EphyHistory *eb) { @@ -275,8 +282,8 @@ ephy_history_save (EphyHistory *eb) EPHY_HISTORY_XML_VERSION, NULL, /* comment */ eb->priv->hosts, - 1, eb->priv->pages, - eb->priv->pages, 0, + (EphyNodeFilterFunc) save_filter, eb->priv->pages, + eb->priv->pages, NULL, NULL, NULL); if (ret >=0) |