aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 543108b0e..47369cabc 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -108,8 +108,8 @@ update_location_editable (EphyWindow *window,
address = ephy_embed_get_location (embed, TRUE);
ephy_toolbar_set_location (EPHY_TOOLBAR (toolbar), address, NULL);
- ephy_tab_set_typed_address (tab, NULL,
- EPHY_TAB_ADDRESS_EXPIRE_CURRENT);
+ ephy_embed_set_typed_address (ephy_tab_get_embed (tab), NULL,
+ EPHY_EMBED_ADDRESS_EXPIRE_CURRENT);
g_free (address);
}
}