summaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-05-30 17:32:57 +0100
committerVincent Sanders <vince@kyllikki.org>2016-05-30 17:32:57 +0100
commit7fc0a4c481d7adad14a42740037d50b2f9e1cdc1 (patch)
tree8f7a0958d76f97cf921f834c6f68218bfce1b003 /javascript
parent8711fbe47dd0381efd09717b719b79be3d819f49 (diff)
downloadnetsurf-7fc0a4c481d7adad14a42740037d50b2f9e1cdc1.tar.gz
netsurf-7fc0a4c481d7adad14a42740037d50b2f9e1cdc1.tar.bz2
move desktop window header into public API
Diffstat (limited to 'javascript')
-rw-r--r--javascript/duktape/Location.bnd2
-rw-r--r--javascript/duktape/Window.bnd2
-rw-r--r--javascript/jsapi/location.bnd2
3 files changed, 3 insertions, 3 deletions
diff --git a/javascript/duktape/Location.bnd b/javascript/duktape/Location.bnd
index fbb0e4a06..ca7e90509 100644
--- a/javascript/duktape/Location.bnd
+++ b/javascript/duktape/Location.bnd
@@ -15,7 +15,7 @@ class Location {
prologue Location()
%{
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
%}
init Location(nsurl *url)
diff --git a/javascript/duktape/Window.bnd b/javascript/duktape/Window.bnd
index 81d52809a..c9fc3ca4d 100644
--- a/javascript/duktape/Window.bnd
+++ b/javascript/duktape/Window.bnd
@@ -13,7 +13,7 @@ class Window {
private struct html_content * htmlc;
prologue %{
#include "utils/nsurl.h"
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
#include "render/html.h"
#include "render/html_internal.h"
%};
diff --git a/javascript/jsapi/location.bnd b/javascript/jsapi/location.bnd
index f64f6330e..96c0a30d5 100644
--- a/javascript/jsapi/location.bnd
+++ b/javascript/jsapi/location.bnd
@@ -17,7 +17,7 @@ hdrcomment " http://www.opensource.org/licenses/mit-license";
preamble %{
-#include "desktop/browser.h"
+#include "netsurf/browser_window.h"
#include "utils/config.h"
#include "utils/log.h"