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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c
index 06280a45b..8930d834c 100644
--- a/src/popup-commands.c
+++ b/src/popup-commands.c
@@ -263,7 +263,7 @@ popup_cmd_open_link (GtkAction *action,
event = ephy_window_get_context_event (window);
ephy_embed_event_get_property (event, "link-uri", &value);
location = g_value_get_string (&value);
- ephy_web_view_load_url (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)), location);
+ ephy_web_view_load_url (ephy_embed_get_web_view (embed), location);
g_value_unset (&value);
}
@@ -391,7 +391,7 @@ popup_cmd_open_frame (GtkAction *action,
g_return_if_fail (embed != NULL);
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);
+ ephy_web_view_load_url (ephy_embed_get_web_view (embed), location);
g_free (location);
}