mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 14:31:20 +03:00
reduce uncessary include usage
This commit is contained in:
parent
cb978fe470
commit
315877c822
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user