File: goocanvas.override
Function: _wrap_goo_canvas_item_list_child_properties
Error: returning (PyObject*)NULL without setting an exception
1294 static PyObject *
1295 _wrap_goo_canvas_item_model_list_child_properties (PyObject *cls,
1296                                                    PyObject *args,
1297                                                    PyObject *kwargs)
1298 {
1299     GParamSpec      **specs;
1300     PyObject        *list;
1301     GType           itype;
1302     GObjectClass    *klass;
1303     guint           nprops;
1304     guint           i;
1305     
1306     if ((itype = pyg_type_from_object(cls)) == 0)
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
calling unknown GType (*) (struct PyObject *) from goocanvas.override:1306
when considering value == (GType)0 from goocanvas.override:1306
taking True path
1307 	return NULL;
1308 
1309     klass = g_type_class_ref(itype);
1310     if (!klass) {
1311 	PyErr_SetString(PyExc_RuntimeError,
1312 			"could not get a reference to type class");
1313 	return NULL;
1314     }
1315 
1316     specs = goo_canvas_item_model_class_list_child_properties(klass, &nprops);
1317     list = PyList_New(nprops);
1318     if (list == NULL) {
1319 	g_free(specs);
1320 	g_type_class_unref(klass);
1321 	return NULL;
1322     }
1323     
1324     for (i = 0; i < nprops; i++) {
1325 	PyList_SetItem(list, i, pyg_param_spec_new(specs[i]));
1326     }
1327     
1328     g_free(specs);
1329     g_type_class_unref(klass);
1330 
1331     return list;
1332 }
returning (PyObject*)NULL without setting an exception