From 80f66913e794ce851a9e38145fd2f0cf0ca7dd31 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 19 Oct 2003 00:30:08 +0000 Subject: do not try to remove All node 2003-10-19 Marco Pesenti Gritti * embed/ephy-history.c: (update_hosts): do not try to remove All node --- ChangeLog | 6 ++++++ embed/ephy-history.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eb6aaad23..4b5c9573a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-10-19 Marco Pesenti Gritti + + * embed/ephy-history.c: (update_hosts): + + do not try to remove All node + 2003-10-19 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-persist.cpp: 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; -- cgit v1.2.3