aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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