[epiphany] web-view: Remove obsolete ifdefs
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] web-view: Remove obsolete ifdefs
- Date: Sat, 23 Jan 2016 23:04:04 +0000 (UTC)
commit 28578843ab6633a4b8a9c29cf8443f315d17c7ee
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Jan 23 17:03:27 2016 -0600
web-view: Remove obsolete ifdefs
We already require 2.11.4
embed/ephy-web-view.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index dabffa4..942df63 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2102,7 +2102,6 @@ zoom_changed_cb (WebKitWebView *web_view,
}
}
-#if WEBKIT_CHECK_VERSION(2, 11, 3)
static gboolean
script_dialog_cb (WebKitWebView *web_view,
WebKitScriptDialog *dialog)
@@ -2117,7 +2116,6 @@ script_dialog_cb (WebKitWebView *web_view,
return TRUE;
}
-#endif
static void
ephy_web_view_init (EphyWebView *web_view)
@@ -2183,11 +2181,9 @@ ephy_web_view_init (EphyWebView *web_view)
G_CALLBACK (icon_changed_cb),
NULL);
-#if WEBKIT_CHECK_VERSION(2, 11, 3)
g_signal_connect (web_view, "script-dialog",
G_CALLBACK (script_dialog_cb),
NULL);
-#endif
g_signal_connect (web_view, "new-window",
G_CALLBACK (new_window_cb),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]