[epiphany] ephy-window: fix compiler warnings



commit 9601637c22d53cfedbbe157640a8c0edb13f4dfc
Author: Xan Lopez <xan igalia com>
Date:   Wed Mar 6 13:20:59 2013 +0100

    ephy-window: fix compiler warnings

 src/ephy-window.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6b760f1..26b9027 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]