aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-history.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-history.c')
-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;