diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/epiphany.defs | 6 | ||||
-rw-r--r-- | src/window-commands.c | 3 |
2 files changed, 2 insertions, 7 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs index f3361ce1e..d2b8d3ef3 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -1023,12 +1023,6 @@ ) ) -(define-method stop_load - (of-object "EphyEmbed") - (c-name "ephy_embed_stop_load") - (return-type "none") -) - (define-method reload (of-object "EphyEmbed") (c-name "ephy_embed_reload") diff --git a/src/window-commands.c b/src/window-commands.c index d9e15d913..ce0392d44 100644 --- a/src/window-commands.c +++ b/src/window-commands.c @@ -24,6 +24,7 @@ #include "ephy-embed-container.h" #include "ephy-embed-shell.h" #include "ephy-embed-single.h" +#include "ephy-embed-utils.h" #include "ephy-shell.h" #include "ephy-embed-factory.h" #include "ephy-embed-persist.h" @@ -196,7 +197,7 @@ window_cmd_view_stop (GtkAction *action, gtk_widget_grab_focus (GTK_WIDGET (embed)); - ephy_embed_stop_load (embed); + webkit_web_view_stop_loading (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed)); } void |