aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-03-01 03:22:58 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-03-01 03:22:58 +0800
commitfd4721ce45cce12723d3a1fde8a635367eb08559 (patch)
treea8ad5e0e1cd18cb6babc0250e2b14af2694b704e /src
parent30268048c1a62294bfe663d95830eeffb594aaf4 (diff)
downloadgsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar.gz
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar.bz2
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar.lz
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar.xz
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.tar.zst
gsoc2013-epiphany-fd4721ce45cce12723d3a1fde8a635367eb08559.zip
Fix embed dialog to pass a good EphyEmbed when the initial one has been
2003-02-28 Marco Pesenti Gritti <marco@it.gnome.org> * TODO: * embed/ephy-embed-dialog.c: (unset_embed), (ephy_embed_dialog_finalize), (ephy_embed_dialog_set_embed): * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_destroy_brsr_cb): Fix embed dialog to pass a good EphyEmbed when the initial one has been destroyed
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c5
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