Hello again!
Here are two more fixes for missing typecasts in pygtk-1.99
1) init_pygobject() in pygobject.h
instead of
_PyGObject_API = PyCObject_AsVoidPtr(cobject);
there should be
_PyGObject_API = (_PyGObject_Functions*) PyCObject_AsVoidPtr(cobject);
2) ExtensionClassImported in ExtensionClass.h
instead of
/* Import the ExtensionClass CAPI */
#define ExtensionClassImported \
(PyExtensionClassCAPI= PyCObject_Import("ExtensionClass","CAPI"))
there should be
/* Import the ExtensionClass CAPI */
#define ExtensionClassImported \
(PyExtensionClassCAPI= (struct ExtensionClassCAPIstruct*) \
PyCObject_Import("ExtensionClass","CAPI"))
Same applies to #define MakeSureExtensionClassImported
Cheers,
Peter
P.S. Please don't be bogged too much with these posts and fixes.
I am meerly trying to compile something with pygtk and am reporting
problems that I encounter.
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk