aboutsummaryrefslogtreecommitdiffstats
path: root/src/popup-commands.c
diff options
context:
space:
mode:
authorDiego Escalante Urrelo <descalante@igalia.com>2010-02-02 09:09:24 +0800
committerDiego Escalante Urrelo <descalante@igalia.com>2010-02-02 09:11:26 +0800
commit0149582ef3d39e8e69c746e167a42356983b79d9 (patch)
tree9274a33428130fc92cd1d208a6318c998bbc2a4e /src/popup-commands.c
parentd3f48332910e5f46e0d3599c771a99d709b0b780 (diff)
downloadgsoc2013-epiphany-0149582ef3d39e8e69c746e167a42356983b79d9.tar.gz
gsoc2013-epiphany-0149582ef3d39e8e69c746e167a42356983b79d9.tar.zst
gsoc2013-epiphany-0149582ef3d39e8e69c746e167a42356983b79d9.zip
Clean uneeded EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED
We now have ephy_embed_get_web_view, EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED plus EPHY_WEB_VIEW casts are useless. Bug #608749
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);
}