[epiphany] Stop using unstable DOM API headers
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Stop using unstable DOM API headers
- Date: Wed, 26 Oct 2016 16:28:25 +0000 (UTC)
commit b9f0578c7f82c801c0a46b7c6ff248b232fe7937
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Oct 26 11:21:42 2016 -0500
Stop using unstable DOM API headers
All API we need is now stable. The unstable API has been entirely
removed as having API that can change without us noticing and without a
soname bump is a serious problem for distros.
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 85c3584..5472b00 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 d5c4aa5..a6fe313 100644
--- a/embed/web-extension/ephy-web-extension.c
+++ b/embed/web-extension/ephy-web-extension.c
@@ -39,8 +39,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 e7a1c35..9dad635 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]