aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2008-06-30 02:15:48 +0800
committerXan Lopez <xan@src.gnome.org>2008-06-30 02:15:48 +0800
commit5aac39ff9672fb14e03ff33b99ab4853955a5592 (patch)
treebcf4faf72c96f1fb9d59f69e143a410beb84b607 /src
parenta2c6d61b3e04f6c77c9f1ffd853831b51e0a0042 (diff)
downloadgsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar.gz
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar.bz2
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar.lz
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar.xz
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.tar.zst
gsoc2013-epiphany-5aac39ff9672fb14e03ff33b99ab4853955a5592.zip
embed: remove ephy_embed_reload.
Use WebKit API directly. svn path=/trunk/; revision=8303
Diffstat (limited to 'src')
-rw-r--r--src/epiphany.defs9
-rw-r--r--src/window-commands.c6
2 files changed, 5 insertions, 10 deletions
diff --git a/src/epiphany.defs b/src/epiphany.defs
index d2b8d3ef3..2c7fa8bc8 100644
--- a/src/epiphany.defs
+++ b/src/epiphany.defs
@@ -1023,15 +1023,6 @@
)
)
-(define-method reload
- (of-object "EphyEmbed")
- (c-name "ephy_embed_reload")
- (return-type "none")
- (parameters
- '("gboolean" "force")
- )
-)
-
(define-method get_title
(of-object "EphyEmbed")
(c-name "ephy_embed_get_title")
diff --git a/src/window-commands.c b/src/window-commands.c
index ce0392d44..de5c9ec40 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -212,7 +212,11 @@ window_cmd_view_reload (GtkAction *action,
gtk_widget_grab_focus (GTK_WIDGET (embed));
- ephy_embed_reload (embed, event_with_shift ());
+ /* FIXME: no way to bypass cache when reloading
+ * with WebKit right now. Old code did:
+ * ephy_embed_reload (embed, event_with_shift ());
+ */
+ webkit_web_view_reload (EPHY_GET_WEBKIT_WEB_VIEW_FROM_EMBED (embed));
}
void