[glib] Clean Glib header #include issues: gtestutils
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Clean Glib header #include issues: gtestutils
- Date: Thu, 6 May 2010 15:42:35 +0000 (UTC)
commit 21302a741cbb3d6373a368df148f6267a0705366
Author: Javier Jardón <jjardon gnome org>
Date: Wed May 5 18:24:33 2010 +0200
Clean Glib header #include issues: gtestutils
glib/gtestutils.c | 13 +++++++++++--
glib/gtestutils.h | 1 -
2 files changed, 11 insertions(+), 3 deletions(-)
---
diff --git a/glib/gtestutils.c b/glib/gtestutils.c
index a6888de..a21c3e5 100644
--- a/glib/gtestutils.c
+++ b/glib/gtestutils.c
@@ -17,10 +17,11 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
#include "config.h"
+
#include "gtestutils.h"
-#include <glib.h>
-#include "galias.h"
+
#include <sys/types.h>
#ifdef G_OS_UNIX
#include <sys/wait.h>
@@ -41,6 +42,14 @@
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif /* HAVE_SYS_SELECT_H */
+
+#include "gmain.h"
+#include "gpattern.h"
+#include "grand.h"
+#include "gstrfuncs.h"
+#include "gtimer.h"
+
+#include "galias.h"
/* Global variable for storing assertion messages; this is the counterpart to
* glibc's (private) __abort_msg variable, and allows developers and crash
diff --git a/glib/gtestutils.h b/glib/gtestutils.h
index 18f1ede..fdcc24a 100644
--- a/glib/gtestutils.h
+++ b/glib/gtestutils.h
@@ -27,7 +27,6 @@
#include <glib/gmessages.h>
#include <glib/gstring.h>
-#include <glib/gtypes.h>
#include <glib/gerror.h>
#include <glib/gslist.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]