diff options
author | TingPing <tngpng@gmail.com> | 2013-04-02 22:39:17 -0700 |
---|---|---|
committer | TingPing <tngpng@gmail.com> | 2013-04-02 22:39:17 -0700 |
commit | 8b72d53dcc401ac622e204f720d4bd602c1dc291 (patch) | |
tree | 8f400553cbb6d468f69c4c39967f262e3bc5406c /src/common | |
parent | b5fef8d0e20c45f2643f3b9fbf28749b5f93b4b6 (diff) | |
parent | ef4aa16730c269f0ebb3b9657ecaef9acd5d07a2 (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.c | 4 | ||||
-rw-r--r-- | src/common/servlist.c | 2 | ||||
-rw-r--r-- | src/common/text.c | 1 | ||||
-rw-r--r-- | src/common/util.c | 1 |
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" |