remove unnecessary includes

This commit is contained in:
Vincent Sanders 2014-02-01 13:06:51 +00:00
parent 8bb0e87b1a
commit 00bdf39dc2
4 changed files with 14 additions and 11 deletions

View File

@ -21,8 +21,8 @@
#include "utils/log.h" #include "utils/log.h"
#include "desktop/gui.h"
#include "desktop/browser.h" #include "desktop/browser.h"
#include "desktop/gui.h"
#include "gtk/window.h" #include "gtk/window.h"
static GString *current_selection = NULL; static GString *current_selection = NULL;

View File

@ -22,21 +22,24 @@
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include "utils/config.h"
#include "utils/nsoption.h"
#include "utils/container.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
#include "desktop/browser.h"
#include "content/content.h" #include "content/content.h"
#include "content/content_type.h" #include "content/content_type.h"
#include "content/hlcache.h" #include "content/hlcache.h"
#include "gtk/compat.h" #include "gtk/compat.h"
#include "gtk/gui.h" #include "gtk/gui.h"
#include "gtk/scaffolding.h" #include "gtk/scaffolding.h"
#include "gtk/menu.h" #include "gtk/menu.h"
#include "gtk/theme.h" #include "gtk/theme.h"
#include "gtk/window.h" #include "gtk/window.h"
#include "utils/nsoption.h"
#include "gtk/dialogs/preferences.h" #include "gtk/dialogs/preferences.h"
#include "utils/container.h"
#include "utils/log.h"
#include "utils/messages.h"
#include "utils/utils.h"
enum image_sets { enum image_sets {
IMAGE_SET_MAIN_MENU = 0, IMAGE_SET_MAIN_MENU = 0,

View File

@ -26,14 +26,18 @@
#include <gdk/gdkkeysyms.h> #include <gdk/gdkkeysyms.h>
#include <gdk-pixbuf/gdk-pixdata.h> #include <gdk-pixbuf/gdk-pixdata.h>
#include "utils/log.h"
#include "utils/utils.h"
#include "utils/nsoption.h"
#include "content/hlcache.h" #include "content/hlcache.h"
#include "gtk/window.h" #include "gtk/window.h"
#include "gtk/selection.h" #include "gtk/selection.h"
#include "desktop/gui.h"
#include "desktop/browser_private.h" #include "desktop/browser_private.h"
#include "desktop/mouse.h" #include "desktop/mouse.h"
#include "utils/nsoption.h"
#include "desktop/searchweb.h" #include "desktop/searchweb.h"
#include "desktop/textinput.h" #include "desktop/textinput.h"
#include "gtk/compat.h" #include "gtk/compat.h"
#include "gtk/gui.h" #include "gtk/gui.h"
#include "gtk/scaffolding.h" #include "gtk/scaffolding.h"
@ -42,8 +46,6 @@
#include "gtk/tabs.h" #include "gtk/tabs.h"
#include "gtk/bitmap.h" #include "gtk/bitmap.h"
#include "gtk/gdk.h" #include "gtk/gdk.h"
#include "utils/log.h"
#include "utils/utils.h"
/* helper macro to conenct signals to callbacks */ /* helper macro to conenct signals to callbacks */
#define CONNECT(obj, sig, callback, ptr) \ #define CONNECT(obj, sig, callback, ptr) \

View File

@ -19,8 +19,6 @@
#ifndef NETSURF_GTK_WINDOW_H #ifndef NETSURF_GTK_WINDOW_H
#define NETSURF_GTK_WINDOW_H 1 #define NETSURF_GTK_WINDOW_H 1
#include "desktop/gui.h"
#include "desktop/browser.h"
#include "gtk/scaffolding.h" #include "gtk/scaffolding.h"
extern struct gui_window_table *nsgtk_window_table; extern struct gui_window_table *nsgtk_window_table;