diff options
author | Xan Lopez <xan@gnome.org> | 2009-06-02 23:56:28 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2009-06-03 00:08:50 +0800 |
commit | a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e (patch) | |
tree | c551691573045b474c0cb894cc98ba4dbd5fc6bb /src/popup-commands.c | |
parent | 9f4b66ef75418ea4f51179432f4d5aeca4e586ed (diff) | |
download | gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar.gz gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar.bz2 gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar.lz gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar.xz gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.tar.zst gsoc2013-epiphany-a62be2bb0ad051a60b99b02e39c58f96dd5b3b9e.zip |
Move load_url method to EphyWebView.
Diffstat (limited to 'src/popup-commands.c')
-rw-r--r-- | src/popup-commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/popup-commands.c b/src/popup-commands.c index 503e6cc4f..31203237e 100644 --- a/src/popup-commands.c +++ b/src/popup-commands.c @@ -25,10 +25,12 @@ #include "ephy-embed-container.h" #include "ephy-embed-factory.h" #include "ephy-embed-persist.h" +#include "ephy-embed-utils.h" #include "ephy-prefs.h" #include "eel-gconf-extensions.h" #include "ephy-file-helpers.h" #include "ephy-bookmarks-ui.h" +#include "ephy-web-view.h" #include <string.h> #include <glib/gi18n.h> @@ -248,8 +250,7 @@ popup_cmd_open_link (GtkAction *action, event = ephy_window_get_context_event (window); value = ephy_embed_event_get_property (event, "link"); location = g_value_get_string (value); - - ephy_embed_load_url (embed, location); + ephy_web_view_load_url (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)), location); } void @@ -373,8 +374,7 @@ popup_cmd_open_frame (GtkAction *action, g_return_if_fail (embed != NULL); location = ephy_embed_get_location (embed, FALSE); - - ephy_embed_load_url (embed, location); + ephy_web_view_load_url (EPHY_WEB_VIEW (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)), location); g_free (location); } |