glib-private: #include <glib.h>
authorRyan Lortie <desrt@desrt.ca>
Fri, 9 Sep 2011 20:05:55 +0000 (16:05 -0400)
committerRyan Lortie <desrt@desrt.ca>
Fri, 9 Sep 2011 20:05:55 +0000 (16:05 -0400)
This is really our only choice if we don't want to annoy the
single-include checking when we use this from inside of gio.

glib/glib-private.h

index b0f1fa9..fde0be8 100644 (file)
 #ifndef __GLIB_PRIVATE_H__
 #define __GLIB_PRIVATE_H__
 
+#include <glib.h>
 #include "gwakeup.h"
-#include "gmain.h"
-
-G_BEGIN_DECLS
 
 G_GNUC_INTERNAL
 GMainContext *          g_get_worker_context            (void);
@@ -46,7 +44,4 @@ typedef struct {
 
 GLibPrivateVTable *glib__private__ (void);
 
-
-G_END_DECLS
-
 #endif /* __G_MAIN_H__ */