summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-04-02 20:39:37 -0700
committerBerke Viktor <bviktor@hexchat.org>2013-04-02 20:39:37 -0700
commit9c49254abd59b8e3f4ecf2be7477dd62bf399296 (patch)
tree299db16a7a127a64bbac8ee13c8c2473e6287372 /src/common
parent5e59578e28408b4fcf85de19fd301a5b02d96dec (diff)
Only include top level includes from GTK+, GLib and GDK-PixBuf
Diffstat (limited to 'src/common')
-rw-r--r--src/common/modes.c4
-rw-r--r--src/common/servlist.c2
-rw-r--r--src/common/text.c1
-rw-r--r--src/common/util.c1
4 files changed, 2 insertions, 6 deletions
diff --git a/src/common/modes.c b/src/common/modes.c
index 32b5a3fa..419b704a 100644
--- a/src/common/modes.c
+++ b/src/common/modes.c
@@ -19,8 +19,6 @@
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
-#include <glib.h>
-#include <glib/gprintf.h>
 
 #include "hexchat.h"
 #include "hexchatc.h"
@@ -34,6 +32,8 @@
 #include <strings.h>
 #endif
 
+#include <glib/gprintf.h>
+
 typedef struct
 {
 	server *serv;
diff --git a/src/common/servlist.c b/src/common/servlist.c
index 654e0b29..306b42e8 100644
--- a/src/common/servlist.c
+++ b/src/common/servlist.c
@@ -27,8 +27,6 @@
 #endif
 
 #include "hexchat.h"
-#include <glib.h>
-
 #include "cfgfiles.h"
 #include "fe.h"
 #include "server.h"
diff --git a/src/common/text.c b/src/common/text.c
index 8196cc03..96fdacd0 100644
--- a/src/common/text.c
+++ b/src/common/text.c
@@ -33,7 +33,6 @@
 #endif
 
 #include "hexchat.h"
-#include <glib.h>
 #include "cfgfiles.h"
 #include "chanopt.h"
 #include "plugin.h"
diff --git a/src/common/util.c b/src/common/util.c
index b9c69a44..9ce23879 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -48,7 +48,6 @@
 #include <errno.h>
 #include "hexchat.h"
 #include "hexchatc.h"
-#include <glib.h>
 #include <ctype.h>
 #include "util.h"