From 315877c82245f33d20dee0850d27c29b0f4ea666 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 18 May 2014 23:16:46 +0100 Subject: reduce uncessary include usage --- gtk/hotlist.c | 6 ++++-- gtk/plotters.c | 5 +++-- gtk/treeview.c | 9 +++++---- 3 files changed, 12 insertions(+), 8 deletions(-) (limited to 'gtk') diff --git a/gtk/hotlist.c b/gtk/hotlist.c index db090992c..0c98bd90c 100644 --- a/gtk/hotlist.c +++ b/gtk/hotlist.c @@ -16,17 +16,19 @@ * along with this program. If not, see . */ +#include -#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" diff --git a/gtk/plotters.c b/gtk/plotters.c index 8896da448..b2a7edecc 100644 --- a/gtk/plotters.c +++ b/gtk/plotters.c @@ -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; diff --git a/gtk/treeview.c b/gtk/treeview.c index c99e9fd43..fa8bd8f3c 100644 --- a/gtk/treeview.c +++ b/gtk/treeview.c @@ -24,19 +24,20 @@ #include #include #include - +#include #include #include +#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; -- cgit v1.2.3