fix invalid use of <glib/...> headers
authormichaelb <michaelb@tracker.xonotic.org.invalid>
Mon, 9 Apr 2012 07:44:35 +0000 (09:44 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 9 Apr 2012 07:44:35 +0000 (09:44 +0200)
contrib/bobtoolz/lists.cpp
libs/convert.h
libs/gtkutil/cursor.h
libs/gtkutil/idledraw.h
libs/os/dir.h
plugins/shaders/shaders.cpp
plugins/vfspk3/vfs.cpp
radiant/feedback.h
radiant/patch.cpp
radiant/watchbsp.cpp
tools/quake3/common/inout.c

index 9b657c3..8107983 100644 (file)
@@ -23,7 +23,7 @@
 #pragma warning(disable : 4786)
 #endif
 
-#include <glib/glist.h>
+#include <glib.h>
 
 #include "misc.h"
 
index b6fe93c..a734e6f 100644 (file)
@@ -27,8 +27,7 @@
 
 #include "debugging/debugging.h"
 #include <algorithm>
-#include <glib/gunicode.h>
-#include <glib/gconvert.h>
+#include <glib.h>
 
 #include "character.h"
 
index e1584fd..b3cfe08 100644 (file)
@@ -22,7 +22,7 @@
 #if !defined( INCLUDED_GTKUTIL_CURSOR_H )
 #define INCLUDED_GTKUTIL_CURSOR_H
 
-#include <glib/gmain.h>
+#include <glib.h>
 #include <gdk/gdkevents.h>
 #include <gtk/gtkwidget.h>
 #include <gtk/gtkwindow.h>
index e74edd8..6267951 100644 (file)
@@ -22,7 +22,7 @@
 #if !defined( INCLUDED_GTKUTIL_IDLEDRAW_H )
 #define INCLUDED_GTKUTIL_IDLEDRAW_H
 
-#include <glib/gmain.h>
+#include <glib.h>
 
 #include "generic/callback.h"
 
index 3047a02..b199284 100644 (file)
@@ -25,7 +25,7 @@
 /// \file
 /// \brief OS directory-listing object.
 
-#include <glib/gdir.h>
+#include <glib.h>
 
 typedef GDir Directory;
 
index 37b9ebe..54df7ab 100644 (file)
@@ -48,7 +48,7 @@
 #include "qerplugin.h"
 #include "irender.h"
 
-#include <glib/gslist.h>
+#include <glib.h>
 
 #include "debugging/debugging.h"
 #include "string/pooledstring.h"
index 50bd1e4..893f002 100644 (file)
@@ -45,9 +45,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <glib/gslist.h>
-#include <glib/gdir.h>
-#include <glib/gstrfuncs.h>
+#include <glib.h>
 
 #include "qerplugin.h"
 #include "idatastream.h"
index 94e2c7e..04e98bb 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "math/vector.h"
 #include "stream/stringstream.h"
-#include <glib/gstring.h>
+#include <glib.h>
 #include "xmlstuff.h"
 #include "dialog.h"
 #include "xywindow.h"
index 1270a9e..b31def4 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "patch.h"
 
-#include <glib/gslist.h>
+#include <glib.h>
 #include "preferences.h"
 #include "brush_primit.h"
 #include "signal/signal.h"
index c21c7ad..f3d1ae6 100644 (file)
@@ -76,8 +76,7 @@ void message_print( message_info_t* self, const char* characters, std::size_t le
 }
 
 
-#include <glib/gtimer.h>
-#include <glib/garray.h>
+#include <glib.h>
 #include "xmlstuff.h"
 
 class CWatchBSP
index 2c1758a..14e9eaa 100644 (file)
@@ -44,8 +44,6 @@
 
 // utf8 conversion
 #include <glib.h>
-#include <glib/gconvert.h>
-#include <glib/gmem.h>
 
 #ifdef WIN32
 HWND hwndOut = NULL;