From 0149582ef3d39e8e69c746e167a42356983b79d9 Mon Sep 17 00:00:00 2001 From: Diego Escalante Urrelo Date: Mon, 1 Feb 2010 20:09:24 -0500 Subject: 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 --- src/popup-commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/popup-commands.c') 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); } -- cgit