summaryrefslogtreecommitdiff
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 bb3a03524..37a4eb27f 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -104,9 +104,9 @@ update_location_editable (EphyWindow *window,
/* embed is NULL on startup */
if (embed != NULL)
{
- address = ephy_web_view_get_location (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), TRUE);
+ address = ephy_web_view_get_location (ephy_embed_get_web_view (embed), TRUE);
ephy_toolbar_set_location (EPHY_TOOLBAR (toolbar), address);
- ephy_web_view_set_typed_address (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), NULL);
+ ephy_web_view_set_typed_address (ephy_embed_get_web_view (embed), NULL);
g_free (address);
}
}