diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-tab.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 8a0c20863..fa7756369 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -194,6 +194,8 @@ ephy_tab_init (EphyTab *tab) tab->priv = g_new0 (EphyTabPrivate, 1); tab->priv->embed = ephy_embed_new (G_OBJECT(single)); + ephy_embed_shell_add_embed (EPHY_EMBED_SHELL (ephy_shell), + tab->priv->embed); tab->priv->window = NULL; tab->priv->event = NULL; @@ -768,6 +770,9 @@ ephy_tab_destroy_brsr_cb (EphyEmbed *embed, EphyTab *tab) window = ephy_tab_get_window (tab); ephy_window_remove_tab (window, tab); + + ephy_embed_shell_remove_embed (EPHY_EMBED_SHELL (ephy_shell), + tab->priv->embed); } static gint |