summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.h
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-09-20 16:02:54 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-09-20 16:02:54 +0000
commit88e11889f6a96868a1aca2c695984f0ef9576926 (patch)
treeb9ec0aad4b05f86cd44b27132886fc9817375b39 /gobject/pygobject.h
parent72465c6c0c831029eafd8c71677f9e34f34d74d2 (diff)
downloadpygobject-python22-branch-anchor.tar.gz
pygobject-python22-branch-anchor.tar.xz
pygobject-python22-branch-anchor.zip
uncomment this now it has a boxed type.python22-branch-anchor
2001-09-20 James Henstridge <james@daa.com.au> * pango.defs (FontMetrics): uncomment this now it has a boxed type. * gtk/Makefile.am (EXTRA_DIST): add gdk.override to dist. * configure.in: update version number.
Diffstat (limited to 'gobject/pygobject.h')
-rw-r--r--gobject/pygobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.h b/gobject/pygobject.h
index bbe38f7..2b031a1 100644
--- a/gobject/pygobject.h
+++ b/gobject/pygobject.h
@@ -96,7 +96,7 @@ struct _PyGObject_Functions *_PyGObject_API;
PyObject *mdict = PyModule_GetDict(gobject); \
PyObject *cobject = PyDict_GetItemString(mdict, "_PyGObject_API"); \
if (PyCObject_Check(cobject)) \
- _PyGObject_API = PyCObject_AsVoidPtr(cobject); \
+ _PyGObject_API = (struct _PyGObject_Functions *)PyCObject_AsVoidPtr(cobject); \
else { \
Py_FatalError("could not find _PyGObject_API object"); \
return; \