reduce unecessary usage of content headers

This commit is contained in:
Vincent Sanders 2016-06-06 16:10:47 +01:00
parent 9c8d60792f
commit 0fad46cd0f
7 changed files with 6 additions and 13 deletions

View File

@ -39,7 +39,7 @@ typedef struct hlcache_child_context {
} hlcache_child_context;
/** High-level cache event */
typedef struct {
typedef struct hlcache_event {
content_msg type; /**< Event type */
union content_msg_data data; /**< Event data */
} hlcache_event;

View File

@ -37,7 +37,7 @@ struct fetch_multipart_data;
typedef struct llcache_handle llcache_handle;
/** POST data object for low-level cache requests */
typedef struct {
typedef struct llcache_post_data {
enum {
LLCACHE_POST_URL_ENCODED,
LLCACHE_POST_MULTIPART

View File

@ -39,7 +39,6 @@
#include "utils/file.h"
#include "utils/nsoption.h"
#include "content/fetchers.h"
#include "content/hlcache.h"
#include "content/urldb.h"
#include "content/backing_store.h"
#include "netsurf/browser_window.h"

View File

@ -33,8 +33,6 @@
#include "utils/log.h"
#include "utils/utils.h"
#include "content/content.h"
#include "content/hlcache.h"
#include "utils/nsoption.h"
#include "netsurf/plotters.h"
#include "desktop/print.h"
@ -48,7 +46,7 @@
/* Globals */
cairo_t *gtk_print_current_cr;
static struct print_settings* settings;
hlcache_handle *content_to_print;
struct hlcache_handle *content_to_print;
static GdkRectangle cliprect;
static inline void nsgtk_print_set_colour(colour c)

View File

@ -28,12 +28,11 @@
#include "utils/config.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "content/content.h"
#include "content/hlcache.h"
#include "utils/nsurl.h"
#include "netsurf/search.h"
#include "netsurf/browser_window.h"
#include "desktop/search.h"
#include "desktop/searchweb.h"
#include "netsurf/search.h"
#include "gtk/warn.h"
#include "gtk/compat.h"

View File

@ -22,7 +22,6 @@
#include "utils/nsoption.h"
#include "utils/messages.h"
#include "netsurf/browser_window.h"
#include "content/content.h"
#include "desktop/search.h"
#include "gtk/compat.h"

View File

@ -40,10 +40,8 @@
#include "utils/utils.h"
#include "utils/file.h"
#include "utils/filepath.h"
#include "utils/nsurl.h"
#include "netsurf/browser_window.h"
#include "content/hlcache.h"
#include "content/content.h"
#include "gtk/warn.h"
#include "gtk/about.h"