diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-03-01 02:03:55 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-03-01 02:03:55 +0800 |
commit | 7235264b18ffdbb7630360f65166c2bf44d4b42f (patch) | |
tree | f3c8b7be572cb7a602f7e92e16c6c212df86bf90 | |
parent | 383b14ee06a64bcdc7ec310dc1797be1d7d6d20e (diff) | |
download | gsoc2013-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.
-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; |