diff options
author | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:15:43 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2008-06-30 02:15:43 +0800 |
commit | a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042 (patch) | |
tree | 9462ee67217f21e1859d94368796a82928f141bb /src | |
parent | 898961c9a4cacc9379a3fe871a5f173baf69b866 (diff) | |
download | gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar.gz gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar.bz2 gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar.lz gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar.xz gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.tar.zst gsoc2013-epiphany-a2c6d61b3e04f6c77c9f1ffd853831b51e0a0042.zip |
embed: remove ephy_embed_stop_load.
Use webkit API directly in window-commands.c
svn path=/trunk/; revision=8302
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 |