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 --- embed/ephy-history.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'embed') 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