[epiphany] Revert "Revert "Stop using unstable DOM API headers""
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "Revert "Stop using unstable DOM API headers""
- Date: Wed, 7 Dec 2016 21:52:50 +0000 (UTC)
commit 22912b6cabe99b20e3f4e59c6bdacaccb1e890a6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Dec 7 15:51:44 2016 -0600
Revert "Revert "Stop using unstable DOM API headers""
This reverts commit 7a97daa0b7075265c0f542c4e5be9fcec91f060b.
WebKit is fixed:
https://trac.webkit.org/changeset/208035
embed/web-extension/ephy-web-dom-utils.h | 2 --
embed/web-extension/ephy-web-extension.c | 2 --
embed/web-extension/ephy-web-overview.c | 5 +----
3 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/embed/web-extension/ephy-web-dom-utils.h b/embed/web-extension/ephy-web-dom-utils.h
index ebe4c6d..6133c1a 100644
--- a/embed/web-extension/ephy-web-dom-utils.h
+++ b/embed/web-extension/ephy-web-dom-utils.h
@@ -21,8 +21,6 @@
#pragma once
#include <webkitdom/webkitdom.h>
-#define WEBKIT_DOM_USE_UNSTABLE_API
-#include <webkitdom/WebKitDOMDOMSelection.h>
G_BEGIN_DECLS
diff --git a/embed/web-extension/ephy-web-extension.c b/embed/web-extension/ephy-web-extension.c
index 71f2c82..81ab6f3 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -40,8 +40,6 @@
#include <libsoup/soup.h>
#include <string.h>
#include <webkit2/webkit-web-extension.h>
-#define WEBKIT_DOM_USE_UNSTABLE_API
-#include <webkitdom/WebKitDOMDOMWindowUnstable.h>
#include <JavaScriptCore/JavaScript.h>
struct _EphyWebExtension {
diff --git a/embed/web-extension/ephy-web-overview.c b/embed/web-extension/ephy-web-overview.c
index 0e349fb..cd9447b 100644
--- a/embed/web-extension/ephy-web-overview.c
+++ b/embed/web-extension/ephy-web-overview.c
@@ -22,10 +22,7 @@
#include "ephy-web-overview.h"
#include <string.h>
-
-#define WEBKIT_DOM_USE_UNSTABLE_API
-#include <webkitdom/WebKitDOMElementUnstable.h>
-#include <webkitdom/WebKitDOMDOMTokenList.h>
+#include <webkitdom/webkitdom.h>
struct _EphyWebOverview {
GObject parent_instance;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]