aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-03-01 02:03:55 +0800
committerChristian Persch <chpe@src.gnome.org>2004-03-01 02:03:55 +0800
commit7235264b18ffdbb7630360f65166c2bf44d4b42f (patch)
treef3c8b7be572cb7a602f7e92e16c6c212df86bf90 /embed
parent383b14ee06a64bcdc7ec310dc1797be1d7d6d20e (diff)
downloadgsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar.gz
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar.bz2
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar.lz
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar.xz
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.tar.zst
gsoc2013-epiphany-7235264b18ffdbb7630360f65166c2bf44d4b42f.zip
Iterate backwards over the children when removing a host.
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.
Diffstat (limited to 'embed')
-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;