various updates to make it compile.
various updates to make it compile.

2001-09-06  James Henstridge  <james@daa.com.au>

	* gtk/gtk.defs: various updates to make it compile.

	* gtk/gtk-types.c (pygdk_atom_str): fallback to returning the repr
	of the atom if we can't resolve its name, rather than returning
	NULL.  Patch from Skip.

	* gobjectmodule.c (pyg_value_from_pyobject): look at the
	fundamental type in this function so we can use a switch statement
	that catches the fundamental types easily, reducing the number of
	type checks.
	(pyg_value_as_pyobject): similar here.  Also handle boolean types
	using patch from Skip.

	* gtk/GDK.py: add extra constants from Skip.

thiblahute/pygobject,davibe/pygobject,davibe/pygobject,GNOME/pygobject,pexip/pygobject,GNOME/pygobject,atizo/pygobject,pexip/pygobject,GNOME/pygobject,davidmalcolm/pygobject,Distrotech/pygobject,jdahlin/pygobject,jdahlin/pygobject,sfeltman/pygobject,sfeltman/pygobject,MathieuDuponchelle/pygobject,jdahlin/pygobject,alexef/pygobject,atizo/pygobject,atizo/pygobject,MathieuDuponchelle/pygobject,thiblahute/pygobject,alexef/pygobject,nzjrs/pygobject,sfeltman/pygobject,nzjrs/pygobject,Distrotech/pygobject,davibe/pygobject,choeger/pygobject-cmake,davibe/pygobject,choeger/pygobject-cmake,Distrotech/pygobject,MathieuDuponchelle/pygobject,nzjrs/pygobject,davidmalcolm/pygobject,pexip/pygobject,davidmalcolm/pygobject,thiblahute/pygobject,choeger/pygobject-cmake,alexef/pygobject,Distrotech/pygobject