From ad343eccb18454bab2f4e9464b88564c9da69649 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 2 Nov 2014 20:10:32 +0000 Subject: remove unecessary utils/types.h This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required. --- desktop/global_history.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'desktop/global_history.h') diff --git a/desktop/global_history.h b/desktop/global_history.h index 463ab1b9c..a2281ad60 100644 --- a/desktop/global_history.h +++ b/desktop/global_history.h @@ -25,7 +25,9 @@ #include "desktop/core_window.h" #include "desktop/textinput.h" #include "utils/errors.h" -#include "utils/nsurl.h" + +struct redraw_context; +struct nsurl; enum browser_mouse_state; @@ -63,7 +65,7 @@ nserror global_history_fini(void); * \param url URL for node being added * \return NSERROR_OK on success, appropriate error otherwise */ -nserror global_history_add(nsurl *url); +nserror global_history_add(struct nsurl *url); /* * Save global history to file (html) @@ -116,7 +118,7 @@ bool global_history_has_selection(void); * \param title Updated to the selected entry's title, or NULL * \return true iff global history has a selection */ -bool global_history_get_selection(nsurl **url, const char **title); +bool global_history_get_selection(struct nsurl **url, const char **title); /** * Expand the treeview's nodes -- cgit v1.2.3