summary refs log tree commit diff stats
path: root/src/common
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-04-02 22:39:17 -0700
committerTingPing <tngpng@gmail.com>2013-04-02 22:39:17 -0700
commit8b72d53dcc401ac622e204f720d4bd602c1dc291 (patch)
tree8f400553cbb6d468f69c4c39967f262e3bc5406c /src/common
parentb5fef8d0e20c45f2643f3b9fbf28749b5f93b4b6 (diff)
parentef4aa16730c269f0ebb3b9657ecaef9acd5d07a2 (diff)
Merge pull request #496 from bviktor/toplevel-includes
Only include top level includes from GTK+, GLib and GDK-PixBuf Closes #486
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"