+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
+Sat Nov 17 14:10:35 2001 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gbsearcharray.h: Include gtypes.h not gobject/gtype.h
+
+ * glib/glib-object.h gobject/*.h: Prevent headers from
+ being included directly except when compiling GObject.
+
+ * gobject/gvaluecollector.h: Include glib-object.h so that
+ this file can be included directly, since we don't
+ include it _from_ glib-object.h.
+
+ * gobject/gtype.c: Remove struct _GValue hack since we
+ now include glib/gvaluecollector.h which simply pulls in
+ glib-object.h.
+
2001-11-15 Matthias Clasen <matthiasc@poet.de>
* glib/giochannel.c: Documentation fixes.
#ifndef __G_BSEARCH_ARRAY_H__
#define __G_BSEARCH_ARRAY_H__
-#include <gobject/gtype.h>
+#include <glib/gtypes.h>
+#include <glib/gutils.h>
+#include <glib/gmem.h>
+#include <glib/gmessages.h>
G_BEGIN_DECLS
#ifndef __GLIB_GOBJECT_H__
#define __GLIB_GOBJECT_H__
+#define __GLIB_GOBJECT_H_INSIDE__
+
/* topmost include file for GObject header files */
#include <gobject/gboxed.h>
#include <gobject/genums.h>
#include <gobject/gvaluearray.h>
#include <gobject/gvaluetypes.h>
+#undef __GLIB_GOBJECT_H_INSIDE__
#endif /* __GLIB_GOBJECT_H__ */
-I$(top_srcdir)/glib \
-I$(top_builddir) \
@GLIB_DEBUG_FLAGS@ \
+ -DGOBJECT_COMPILATION \
-DG_DISABLE_CONST_RETURNS \
@STRIP_END@
#ifndef __G_BOXED_H__
#define __G_BOXED_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <gobject/gtype.h>
G_BEGIN_DECLS
#ifndef __G_CLOSURE_H__
#define __G_CLOSURE_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gtype.h>
#ifndef __G_ENUMS_H__
#define __G_ENUMS_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <gobject/gtype.h>
G_BEGIN_DECLS
#ifndef __G_OBJECT_H__
#define __G_OBJECT_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <gobject/gtype.h>
#include <gobject/gvalue.h>
#include <gobject/gparam.h>
#ifndef __G_PARAM_H__
#define __G_PARAM_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gvalue.h>
#ifndef __G_PARAMSPECS_H__
#define __G_PARAMSPECS_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gvalue.h>
#include <gobject/genums.h>
#ifndef __G_SIGNAL_H__
#define __G_SIGNAL_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gclosure.h>
#include <gobject/gvalue.h>
#ifndef __G_SOURCECLOSURE_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <gobject/gclosure.h>
G_BEGIN_DECLS
/* --- structures --- */
-struct _GValue /* kludge, keep in sync with gvalue.h */
-{
- GType g_type;
-};
struct _TypeNode
{
GTypePlugin *plugin;
#ifndef __G_TYPE_H__
#define __G_TYPE_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <glib.h>
G_BEGIN_DECLS
#ifndef __G_TYPE_MODULE_H__
#define __G_TYPE_MODULE_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
+
#include <gobject/gobject.h>
G_BEGIN_DECLS
#ifndef __G_TYPE_PLUGIN_H__
#define __G_TYPE_PLUGIN_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gtype.h>
#ifndef __G_VALUE_H__
#define __G_VALUE_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gtype.h>
#ifndef __G_VALUE_ARRAY_H__
#define __G_VALUE_ARRAY_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gvalue.h>
#ifndef __G_VALUE_COLLECTOR_H__
#define __G_VALUE_COLLECTOR_H__
+#include <glib-object.h>
+
G_BEGIN_DECLS
/* we may want to add aggregate types here some day, if requested
#ifndef __G_VALUETYPES_H__
#define __G_VALUETYPES_H__
+#if !defined (__GLIB_GOBJECT_H_INSIDE__) && !defined (GOBJECT_COMPILATION)
+#error "Only <glib-object.h> can be included directly."
+#endif
#include <gobject/gvalue.h>