aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-tab.c')
-rw-r--r--src/ephy-tab.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 978074394..2db9f5871 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -562,15 +562,11 @@ ephy_tab_link_message_cb (EphyEmbed *embed,
}
static void
-ephy_tab_address_cb (EphyEmbed *embed, EphyTab *tab)
+ephy_tab_address_cb (EphyEmbed *embed, char *address, EphyTab *tab)
{
if (tab->priv->address_expire == TAB_ADDRESS_EXPIRE_NOW)
{
- char *address;
-
- ephy_embed_get_location (embed, TRUE, &address);
ephy_tab_set_location (tab, address, TAB_ADDRESS_EXPIRE_NOW);
- g_free (address);
}
ephy_tab_set_link_message (tab, NULL);