diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | embed/ephy-history.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,11 @@ 2004-02-29 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-history.c: (remove_obsolete_pages): + + Iterate backwards over the children when removing a host. + +2004-02-29 Christian Persch <chpe@cvs.gnome.org> + * embed/ephy-favicon-cache.c: (ephy_favicon_cache_class_init), (kill_download), (ephy_favicon_cache_finalize), (favicon_name_build), (favicon_download_completed_cb), 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 (¤t_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; |