[glib] Do not include "glib.h" in gio files



commit 434a4e1d250157b13d7036592f097c18fb8376b1
Author: Javier Jardón <jjardon gnome org>
Date:   Wed May 5 17:32:12 2010 +0200

    Do not include "glib.h" in gio files

 gio/gcharsetconverter.c |    4 ++--
 gio/gsocket.c           |    4 ++--
 gio/gzlibcompressor.c   |    6 +++---
 gio/gzlibdecompressor.c |    6 +++---
 4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gio/gcharsetconverter.c b/gio/gcharsetconverter.c
index 35b0a5a..fe8fe69 100644
--- a/gio/gcharsetconverter.c
+++ b/gio/gcharsetconverter.c
@@ -22,11 +22,11 @@
 
 #include "config.h"
 
+#include "gcharsetconverter.h"
+
 #include <errno.h>
 
 #include "gcontenttypeprivate.h"
-#include "gcharsetconverter.h"
-#include "glib.h"
 #include "ginitable.h"
 #include "gioerror.h"
 #include "glibintl.h"
diff --git a/gio/gsocket.c b/gio/gsocket.c
index d35f7c2..54282c6 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -26,7 +26,8 @@
  */
 
 #include "config.h"
-#include "glib.h"
+
+#include "gsocket.h"
 
 #include <errno.h>
 #include <signal.h>
@@ -42,7 +43,6 @@
 #include <sys/uio.h>
 #endif
 
-#include "gsocket.h"
 #include "gcancellable.h"
 #include "gioenumtypes.h"
 #include "ginetaddress.h"
diff --git a/gio/gzlibcompressor.c b/gio/gzlibcompressor.c
index fa657fa..b7cff7d 100644
--- a/gio/gzlibcompressor.c
+++ b/gio/gzlibcompressor.c
@@ -22,16 +22,16 @@
 
 #include "config.h"
 
+#include "gzlibcompressor.h"
+
 #include <errno.h>
 #include <zlib.h>
 #include <string.h>
 
-#include "gzlibcompressor.h"
-#include "glib.h"
 #include "gioerror.h"
-#include "glibintl.h"
 #include "gioenums.h"
 #include "gioenumtypes.h"
+#include "glibintl.h"
 
 #include "gioalias.h"
 
diff --git a/gio/gzlibdecompressor.c b/gio/gzlibdecompressor.c
index 439ac7c..a8e852f 100644
--- a/gio/gzlibdecompressor.c
+++ b/gio/gzlibdecompressor.c
@@ -22,16 +22,16 @@
 
 #include "config.h"
 
+#include "gzlibdecompressor.h"
+
 #include <errno.h>
 #include <zlib.h>
 #include <string.h>
 
-#include "gzlibdecompressor.h"
-#include "glib.h"
 #include "gioerror.h"
-#include "glibintl.h"
 #include "gioenums.h"
 #include "gioenumtypes.h"
+#include "glibintl.h"
 
 #include "gioalias.h"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]