diff options
Diffstat (limited to 'pango.override')
-rw-r--r-- | pango.override | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pango.override b/pango.override index 80691f77..b4b592b5 100644 --- a/pango.override +++ b/pango.override @@ -138,8 +138,8 @@ static PyTypeObject PyPangoAttribute_Type = { 0, /* tp_descr_set */ 0, /* tp_dictoffset */ (initproc)0, /* tp_init */ - PyType_GenericAlloc, /* tp_alloc */ - PyType_GenericNew, /* tp_new */ + (allocfunc)0, /* tp_alloc */ + (newfunc)0, /* tp_new */ 0, /* tp_free */ (inquiry)0, /* tp_is_gc */ (PyObject *)0, /* tp_bases */ @@ -147,6 +147,8 @@ static PyTypeObject PyPangoAttribute_Type = { %% init + PyPangoAttribute_Type.tp_alloc = PyType_GenericAlloc; + PyPangoAttribute_Type.tp_new = PyType_GenericNew; if (PyType_Ready(&PyPangoAttribute_Type) < 0) return; %% |