Include gtypes.h not gobject/gtype.h

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.
This commit is contained in:
Owen Taylor
2001-11-18 00:38:48 +00:00
committed by Owen Taylor
parent 9d3cee6ac3
commit 5852eace66
27 changed files with 178 additions and 5 deletions

View File

@@ -137,10 +137,6 @@ static IFaceHolder* type_iface_peek_holder_L (TypeNode *iface,
/* --- structures --- */
struct _GValue /* kludge, keep in sync with gvalue.h */
{
GType g_type;
};
struct _TypeNode
{
GTypePlugin *plugin;