diff options
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r-- | src/ephy-tab.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 9b3e53c5a..e660b6bba 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -189,13 +189,14 @@ static void ephy_tab_init (EphyTab *tab) { GObject *embed, *embed_widget; - EphyEmbedShell *shell; + EphyEmbedSingle *single; - tab->priv = g_new0 (EphyTabPrivate, 1); + single = ephy_embed_shell_get_embed_single + (EPHY_EMBED_SHELL (ephy_shell)); - shell = EPHY_EMBED_SHELL (ephy_shell); + tab->priv = g_new0 (EphyTabPrivate, 1); - tab->priv->embed = ephy_embed_new (G_OBJECT(shell)); + tab->priv->embed = ephy_embed_new (G_OBJECT(single)); tab->priv->window = NULL; tab->priv->event = NULL; |