aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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