reduce uncessary include usage

This commit is contained in:
Vincent Sanders 2014-05-18 23:16:46 +01:00
parent cb978fe470
commit 315877c822
8 changed files with 26 additions and 14 deletions

View File

@ -64,10 +64,13 @@
#include <assert.h>
#include <string.h>
#include "desktop/knockout.h"
#include "desktop/plotters.h"
#include <stdio.h>
#include "image/bitmap.h"
#include "utils/log.h"
#include "content/content.h"
#include "desktop/knockout.h"
#include "desktop/plotters.h"
/* Define to enable knockout debug */
#undef KNOCKOUT_DEBUG

View File

@ -24,8 +24,9 @@
#define _NETSURF_DESKTOP_PLOTTERS_H_
#include <stdbool.h>
#include "css/css.h"
#include "content/content.h"
#include <stdio.h>
#include "utils/types.h"
#include "desktop/plot_style.h"
struct bitmap;

View File

@ -17,11 +17,14 @@
*/
#include <stdbool.h>
#include <stdlib.h>
#include <limits.h>
#include <libnsfb.h>
#include <libnsfb_plot.h>
#include <libnsfb_event.h>
#include "utils/types.h"
#include "desktop/browser_history.h"
#include "desktop/plotters.h"

View File

@ -16,17 +16,19 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include "desktop/hotlist.h"
#include "utils/log.h"
#include "utils/nsoption.h"
#include "desktop/hotlist.h"
#include "desktop/plotters.h"
#include "desktop/tree.h"
#include "gtk/gui.h"
#include "gtk/hotlist.h"
#include "gtk/plotters.h"
#include "gtk/scaffolding.h"
#include "gtk/treeview.h"
#include "utils/log.h"
#define GLADE_NAME "hotlist.glade"

View File

@ -33,11 +33,12 @@
#include "utils/log.h"
#include "desktop/plotters.h"
#include "render/font.h"
#include "utils/nsoption.h"
#include "gtk/font_pango.h"
#include "gtk/plotters.h"
#include "gtk/scaffolding.h"
#include "render/font.h"
#include "utils/nsoption.h"
#include "gtk/bitmap.h"
GtkWidget *current_widget;

View File

@ -24,19 +24,20 @@
#include <assert.h>
#include <stdio.h>
#include <limits.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
#include "utils/log.h"
#include "utils/utf8.h"
#include "utils/utils.h"
#include "desktop/tree.h"
#include "desktop/plotters.h"
#include "gtk/compat.h"
#include "gtk/gui.h"
#include "gtk/plotters.h"
#include "gtk/treeview.h"
#include "utils/log.h"
#include "utils/utf8.h"
#include "utils/utils.h"
struct nsgtk_treeview {
GtkWindow *window;

View File

@ -25,6 +25,7 @@
#include "utils/config.h"
#include "utils/log.h"
#include "desktop/plotters.h"
#include "content/content.h"
#include "image/bitmap.h"
#include "image/bmp.h"

View File

@ -16,10 +16,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "desktop/plotters.h"
#include <stdio.h>
#include "desktop/plotters.h"
static bool
monkey_plot_disc(int x, int y, int radius, const plot_style_t *style)
{