[glib] glib-private: #include <glib.h>
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] glib-private: #include <glib.h>
- Date: Fri, 9 Sep 2011 20:06:41 +0000 (UTC)
commit bceaf3a7194ecd5303b6cbc9797586ba4849b1bc
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Sep 9 16:05:55 2011 -0400
glib-private: #include <glib.h>
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 | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/glib/glib-private.h b/glib/glib-private.h
index b0f1fa9..fde0be8 100644
--- a/glib/glib-private.h
+++ b/glib/glib-private.h
@@ -20,10 +20,8 @@
#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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]