aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-08-02 21:42:12 +0800
committerXan Lopez <xan@igalia.com>2012-08-02 21:42:12 +0800
commit80177fba115c1d9c4833d108094b6c90aaaf879d (patch)
tree3bdfe1968e72f92fb359c1d6c341f17a777a92c6 /src
parent18720165e359b9d127fd378214910b544121be7d (diff)
downloadgsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar.gz
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar.bz2
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar.lz
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar.xz
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.tar.zst
gsoc2013-epiphany-80177fba115c1d9c4833d108094b6c90aaaf879d.zip
window-commands: fix WebKit2 build
Haters gonna hate.
Diffstat (limited to 'src')
-rw-r--r--src/window-commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 1c02a56d8..c1e1d78c6 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -307,11 +307,11 @@ get_suggested_filename (EphyWebView *view)
}
else
{
- WebKitNetworkResponse *response;
-
#ifdef HAVE_WEBKIT2
/* TODO: suggested filename */
#else
+ WebKitNetworkResponse *response;
+
response = webkit_web_frame_get_network_response (frame);
suggested_filename = g_strdup (webkit_network_response_get_suggested_filename (response));
#endif