From 88e11889f6a96868a1aca2c695984f0ef9576926 Mon Sep 17 00:00:00 2001 From: James Henstridge Date: Thu, 20 Sep 2001 16:02:54 +0000 Subject: uncomment this now it has a boxed type. 2001-09-20 James Henstridge * 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. --- gobject/pygobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gobject/pygobject.h') 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; \ -- cgit