summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-05-18 23:16:46 +0100
committerVincent Sanders <vince@kyllikki.org>2014-05-18 23:17:15 +0100
commit315877c82245f33d20dee0850d27c29b0f4ea666 (patch)
treef26314780124c12601cd6ac891b10bba3a28ba75 /gtk
parentcb978fe47000560301fcc809fdd6c63d338bc6d8 (diff)
downloadnetsurf-315877c82245f33d20dee0850d27c29b0f4ea666.tar.gz
netsurf-315877c82245f33d20dee0850d27c29b0f4ea666.tar.bz2
reduce uncessary include usage
Diffstat (limited to 'gtk')
-rw-r--r--gtk/hotlist.c6
-rw-r--r--gtk/plotters.c5
-rw-r--r--gtk/treeview.c9
3 files changed, 12 insertions, 8 deletions
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 <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"
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 <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;