aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r--src/popup-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 755817e82..c2d7267af 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -389,7 +389,7 @@ popup_cmd_open_frame (GtkAction *action,
(EPHY_EMBED_CONTAINER (window));
g_return_if_fail (embed != NULL);
- location = ephy_web_view_get_location (EPHY_GET_EPHY_WEB_VIEW_FROM_EMBED (embed), FALSE);
+ location = ephy_web_view_get_location (ephy_embed_get_web_view (embed), FALSE);
ephy_web_view_load_url (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)), location);
g_free (location);