mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
remove unnecessary includes
This commit is contained in:
parent
8bb0e87b1a
commit
00bdf39dc2
@ -21,8 +21,8 @@
|
||||
|
||||
#include "utils/log.h"
|
||||
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "gtk/window.h"
|
||||
|
||||
static GString *current_selection = NULL;
|
||||
|
13
gtk/theme.c
13
gtk/theme.c
@ -22,21 +22,24 @@
|
||||
#include <sys/stat.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_type.h"
|
||||
#include "content/hlcache.h"
|
||||
|
||||
#include "gtk/compat.h"
|
||||
#include "gtk/gui.h"
|
||||
#include "gtk/scaffolding.h"
|
||||
#include "gtk/menu.h"
|
||||
#include "gtk/theme.h"
|
||||
#include "gtk/window.h"
|
||||
#include "utils/nsoption.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 {
|
||||
IMAGE_SET_MAIN_MENU = 0,
|
||||
|
@ -26,14 +26,18 @@
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <gdk-pixbuf/gdk-pixdata.h>
|
||||
|
||||
#include "utils/log.h"
|
||||
#include "utils/utils.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "content/hlcache.h"
|
||||
#include "gtk/window.h"
|
||||
#include "gtk/selection.h"
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/browser_private.h"
|
||||
#include "desktop/mouse.h"
|
||||
#include "utils/nsoption.h"
|
||||
#include "desktop/searchweb.h"
|
||||
#include "desktop/textinput.h"
|
||||
|
||||
#include "gtk/compat.h"
|
||||
#include "gtk/gui.h"
|
||||
#include "gtk/scaffolding.h"
|
||||
@ -42,8 +46,6 @@
|
||||
#include "gtk/tabs.h"
|
||||
#include "gtk/bitmap.h"
|
||||
#include "gtk/gdk.h"
|
||||
#include "utils/log.h"
|
||||
#include "utils/utils.h"
|
||||
|
||||
/* helper macro to conenct signals to callbacks */
|
||||
#define CONNECT(obj, sig, callback, ptr) \
|
||||
|
@ -19,8 +19,6 @@
|
||||
#ifndef NETSURF_GTK_WINDOW_H
|
||||
#define NETSURF_GTK_WINDOW_H 1
|
||||
|
||||
#include "desktop/gui.h"
|
||||
#include "desktop/browser.h"
|
||||
#include "gtk/scaffolding.h"
|
||||
|
||||
extern struct gui_window_table *nsgtk_window_table;
|
||||
|
Loading…
Reference in New Issue
Block a user