From 012b7977139b506220e8dffa4367877dbe6f2594 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 30 Jun 2016 15:40:10 +0100 Subject: remove unecessary textinput header use from global history header --- desktop/browser.c | 1 + desktop/global_history.h | 9 ++++----- frontends/amiga/tree.c | 1 + frontends/riscos/global_history.c | 3 ++- 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 #include -#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" -- cgit v1.2.3