--- pygobject-2.12.2/gobject/pygtype.c	2006/11/19 21:30:22	1.1
+++ pygobject-2.12.2/gobject/pygtype.c	2006/11/19 21:59:58
@@ -628,6 +628,8 @@ pyg_value_array_from_pyobject(GValue *va
 
 	if (pspec && pspec->element_spec)
 	    type = G_PARAM_SPEC_VALUE_TYPE(pspec->element_spec);
+	else if (item == Py_None)
+	    type = G_TYPE_POINTER; /* store None as NULL */
 	else {
 	    type = pyg_type_from_object((PyObject *) item->ob_type);
 	    if (! type) {
