summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-06-30 16:12:06 +0100
committerVincent Sanders <vince@kyllikki.org>2016-06-30 16:12:06 +0100
commit0ae788752cdeb259eaadb756a18e9065da1c6d22 (patch)
tree6be6a229bb5228ad564a580617deecda02a7a42c /desktop
parent012b7977139b506220e8dffa4367877dbe6f2594 (diff)
downloadnetsurf-0ae788752cdeb259eaadb756a18e9065da1c6d22.tar.gz
netsurf-0ae788752cdeb259eaadb756a18e9065da1c6d22.tar.bz2
remove unecessary textinput header use from treeview header
Diffstat (limited to 'desktop')
-rw-r--r--desktop/tree.c5
-rw-r--r--desktop/treeview.c8
-rw-r--r--desktop/treeview.h9
3 files changed, 13 insertions, 9 deletions
diff --git a/desktop/tree.c b/desktop/tree.c
index d1af7664b..bfe8e9874 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -30,12 +30,13 @@
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
+#include "utils/nsoption.h"
+#include "netsurf/browser_window.h"
#include "content/content.h"
#include "content/hlcache.h"
-#include "utils/nsoption.h"
-#include "netsurf/browser_window.h"
#include "desktop/tree.h"
+#include "desktop/core_window.h"
struct tree {
unsigned int flags; /* Tree flags */
diff --git a/desktop/treeview.c b/desktop/treeview.c
index b8d3d1370..8f0afcbb2 100644
--- a/desktop/treeview.c
+++ b/desktop/treeview.c
@@ -26,17 +26,19 @@
#include "utils/nsurl.h"
#include "netsurf/bitmap.h"
#include "netsurf/content.h"
+#include "netsurf/plotters.h"
+#include "netsurf/clipboard.h"
+#include "netsurf/layout.h"
#include "content/hlcache.h"
#include "css/utils.h"
#include "desktop/system_colour.h"
#include "desktop/knockout.h"
-#include "netsurf/plotters.h"
#include "desktop/textarea.h"
#include "desktop/treeview.h"
-#include "netsurf/clipboard.h"
-#include "netsurf/layout.h"
#include "desktop/gui_internal.h"
+#include "desktop/textinput.h"
+#include "desktop/core_window.h"
/** @todo get rid of REDRAW_MAX -- need to be able to know window size */
#define REDRAW_MAX 8000
diff --git a/desktop/treeview.h b/desktop/treeview.h
index e5baaf2ff..25349ad36 100644
--- a/desktop/treeview.h
+++ b/desktop/treeview.h
@@ -16,8 +16,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/** \file
- * Treeview handling (interface).
+/**
+ * \file
+ * Treeview handling interface.
*/
#ifndef _NETSURF_DESKTOP_TREEVIEW_H_
@@ -28,10 +29,10 @@
#include <libwapcaplet/libwapcaplet.h>
#include "netsurf/mouse.h"
-#include "desktop/core_window.h"
-#include "desktop/textinput.h"
struct redraw_context;
+struct core_window;
+struct core_window_callback_table;
typedef struct treeview treeview;
typedef struct treeview_node treeview_node;