10684 void
10685 pygoocanvas_add_constants(PyObject *module, const gchar *strip_prefix)
10686 {
10687 #ifdef VERSION
10688 PyModule_AddStringConstant(module, "__version__", VERSION);
when PyModule_AddStringConstant() succeeds
10689 #endif
10690 pyg_enum_add(module, "AnimateType", strip_prefix, GOO_TYPE_CANVAS_ANIMATE_TYPE);
when treating unknown struct _PyGObject_Functions * from /usr/include/pygtk-2.0/pygobject.h:207 as non-NULL
when call succeeds
new ref from call through function pointer allocated at: pyg_enum_add(module, "AnimateType", strip_prefix, GOO_TYPE_CANVAS_ANIMATE_TYPE);
ob_refcnt is now refs: 1 + N where N >= 0
10691 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_MOVE_TO", strip_prefix), GOO_CANVAS_PATH_MOVE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10691
when PyModule_AddIntConstant() succeeds
10692 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_CLOSE_PATH", strip_prefix), GOO_CANVAS_PATH_CLOSE_PATH);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10692
when PyModule_AddIntConstant() succeeds
10693 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_LINE_TO", strip_prefix), GOO_CANVAS_PATH_LINE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10693
when PyModule_AddIntConstant() succeeds
10694 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_HORIZONTAL_LINE_TO", strip_prefix), GOO_CANVAS_PATH_HORIZONTAL_LINE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10694
when PyModule_AddIntConstant() succeeds
10695 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_VERTICAL_LINE_TO", strip_prefix), GOO_CANVAS_PATH_VERTICAL_LINE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10695
when PyModule_AddIntConstant() succeeds
10696 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_CURVE_TO", strip_prefix), GOO_CANVAS_PATH_CURVE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10696
when PyModule_AddIntConstant() succeeds
10697 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_SMOOTH_CURVE_TO", strip_prefix), GOO_CANVAS_PATH_SMOOTH_CURVE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10697
when PyModule_AddIntConstant() succeeds
10698 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_QUADRATIC_CURVE_TO", strip_prefix), GOO_CANVAS_PATH_QUADRATIC_CURVE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10698
when PyModule_AddIntConstant() fails
10699 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_SMOOTH_QUADRATIC_CURVE_TO", strip_prefix), GOO_CANVAS_PATH_SMOOTH_QUADRATIC_CURVE_TO);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10699
when PyModule_AddIntConstant() succeeds
10700 PyModule_AddIntConstant(module, (char *) pyg_constant_strip_prefix("GOO_CANVAS_PATH_ELLIPTICAL_ARC", strip_prefix), GOO_CANVAS_PATH_ELLIPTICAL_ARC);
calling unknown const gchar * (*) (const gchar *, const gchar *) from goocanvas.c:10700
when PyModule_AddIntConstant() succeeds
10701 pyg_flags_add(module, "PointerEvents", strip_prefix, GOO_TYPE_CANVAS_POINTER_EVENTS);
when call succeeds
10702 pyg_enum_add(module, "ItemVisibility", strip_prefix, GOO_TYPE_CANVAS_ITEM_VISIBILITY);
when call succeeds
10703
10704 if (PyErr_Occurred())
PyErr_Occurred()
taking True path
10705 PyErr_Print();
calling PyErr_Print()
10706 }
returning
ob_refcnt of new ref from call through function pointer is 1 too high
was expecting final ob_refcnt to be N + 0 (for some unknown N)
but final ob_refcnt is N + 1
found 36 similar trace(s) to this