[epiphany] window-commands: fix WebKit2 build
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] window-commands: fix WebKit2 build
- Date: Thu, 2 Aug 2012 13:42:28 +0000 (UTC)
commit 80177fba115c1d9c4833d108094b6c90aaaf879d
Author: Xan Lopez <xan igalia com>
Date: Thu Aug 2 15:42:12 2012 +0200
window-commands: fix WebKit2 build
Haters gonna hate.
src/window-commands.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 1c02a56..c1e1d78 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]