aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2003-10-19 08:30:08 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2003-10-19 08:30:08 +0800
commit80f66913e794ce851a9e38145fd2f0cf0ca7dd31 (patch)
treed7c3a740b4ca9f50130e8a956a28d0a7289ca558 /embed
parentc922c7b6817055cdfd036f4aa43748dbf76fe9a4 (diff)
downloadgsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar.gz
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar.bz2
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar.lz
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar.xz
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.tar.zst
gsoc2013-epiphany-80f66913e794ce851a9e38145fd2f0cf0ca7dd31.zip
do not try to remove All node
2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (update_hosts): do not try to remove All node
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-history.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/embed/ephy-history.c b/embed/ephy-history.c
index c6aabef64..d3991bea6 100644
--- a/embed/ephy-history.c
+++ b/embed/ephy-history.c
@@ -341,7 +341,10 @@ update_hosts (EphyHistory *eh)
EphyNode *kid;
kid = g_ptr_array_index (children, i);
- update_host_on_child_remove (kid);
+ if (kid != eh->priv->pages)
+ {
+ update_host_on_child_remove (kid);
+ }
}
eh->priv->update_hosts_idle = 0;