aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history.c')
-rw-r--r--embed/ephy-history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index 3d2b2f421..300c601a0 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -231,7 +231,7 @@ remove_obsolete_pages (EphyHistory *eb)
g_date_set_time (&current_date, time (NULL));
children = ephy_node_get_children (eb->priv->pages);
- for (i = 0; i < children->len; i++)
+ for (i = children->len -1; i >= 0; i--)
{
EphyNode *kid;