aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2013-03-06 20:20:59 +0800
committerXan Lopez <xan@igalia.com>2013-03-06 20:20:59 +0800
commit9601637c22d53cfedbbe157640a8c0edb13f4dfc (patch)
tree7dfa4951f95656a1a2b91e7a1011d1395725374f /src
parentc450d2e819340175b6db5804208154f0382fc0fc (diff)
downloadgsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar.gz
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar.bz2
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar.lz
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar.xz
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.tar.zst
gsoc2013-epiphany-9601637c22d53cfedbbe157640a8c0edb13f4dfc.zip
ephy-window: fix compiler warnings
Diffstat (limited to 'src')
-rw-r--r--src/ephy-window.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6b760f19f..26b902797 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2391,11 +2391,8 @@ decide_policy_cb (WebKitWebView *web_view,
WebKitNavigationPolicyDecision *navigation_decision;
WebKitNavigationType navigation_type;
WebKitURIRequest *request;
- gint button;
- gint state;
const char *uri;
EphyEmbed *embed;
- EphyNewTabFlags flags;
if (decision_type == WEBKIT_POLICY_DECISION_TYPE_RESPONSE)
return FALSE;
@@ -2806,7 +2803,9 @@ ephy_window_disconnect_active_embed (EphyWindow *window)
WebKitWebView *web_view;
EphyWebView *view;
EphyOverview *overview;
+#ifndef HAVE_WEBKIT2
guint sid;
+#endif
EphyEmbedShellMode shell_mode;
g_return_if_fail (window->priv->active_embed != NULL);