summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-06-30 15:40:10 +0100
committerVincent Sanders <vince@kyllikki.org>2016-06-30 15:40:10 +0100
commit012b7977139b506220e8dffa4367877dbe6f2594 (patch)
tree6564a2afa15ac85530c03bc8cdfbb3bf8f42c9c5
parent690066bb56e49fb21c66b47cdbe33ca6e51e16ec (diff)
downloadnetsurf-012b7977139b506220e8dffa4367877dbe6f2594.tar.gz
netsurf-012b7977139b506220e8dffa4367877dbe6f2594.tar.bz2
remove unecessary textinput header use from global history header
-rw-r--r--desktop/browser.c1
-rw-r--r--desktop/global_history.h9
-rw-r--r--frontends/amiga/tree.c1
-rw-r--r--frontends/riscos/global_history.c3
4 files changed, 8 insertions, 6 deletions
diff --git a/desktop/browser.c b/desktop/browser.c
index 5f99a845b..d3648d76a 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -72,6 +72,7 @@
#include "desktop/selection.h"
#include "desktop/theme.h"
#include "desktop/gui_internal.h"
+#include "desktop/textinput.h"
/** maximum frame depth */
diff --git a/desktop/global_history.h b/desktop/global_history.h
index bfbd13258..f289a5b06 100644
--- a/desktop/global_history.h
+++ b/desktop/global_history.h
@@ -22,14 +22,13 @@
#include <stdbool.h>
#include <stdint.h>
-#include "desktop/core_window.h"
-#include "desktop/textinput.h"
#include "utils/errors.h"
+#include "netsurf/mouse.h"
+struct core_window_callback_table;
struct redraw_context;
struct nsurl;
-
-enum browser_mouse_state;
+struct rect;
/**
* Initialise the global history.
@@ -67,7 +66,7 @@ nserror global_history_fini(void);
*/
nserror global_history_add(struct nsurl *url);
-/*
+/**
* Save global history to file (html)
*
* \param path The path to save history to
diff --git a/frontends/amiga/tree.c b/frontends/amiga/tree.c
index 033e356d6..c46eee460 100644
--- a/frontends/amiga/tree.c
+++ b/frontends/amiga/tree.c
@@ -60,6 +60,7 @@
#include "desktop/global_history.h"
#include "desktop/hotlist.h"
#include "desktop/sslcert_viewer.h"
+#include "desktop/textinput.h"
#include "amiga/gui.h"
#include "amiga/tree.h"
diff --git a/frontends/riscos/global_history.c b/frontends/riscos/global_history.c
index edef331f2..8e339e6b9 100644
--- a/frontends/riscos/global_history.c
+++ b/frontends/riscos/global_history.c
@@ -34,9 +34,10 @@
#include "utils/nsoption.h"
#include "utils/messages.h"
#include "utils/log.h"
+#include "netsurf/window.h"
#include "desktop/global_history.h"
#include "desktop/tree.h"
-#include "netsurf/window.h"
+#include "desktop/textinput.h"
#include "riscos/dialog.h"
#include "riscos/global_history.h"