diff options
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | gobject/pygpointer.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2008-09-03 Loïc Minier <lool@dooz.org> + + * gobject/pygpointer.c: (pyg_register_pointer): + Fix typo (s/&type/type) introduced in r886 causing weird crashes on + x86-64; bug #550463. + 2008-09-01 Gian Mario Tagliaretti <gianmt@gnome.org> * codegen/argtypes.py: add G_TYPE_CLOSURE boxed type in codegen. diff --git a/gobject/pygpointer.c b/gobject/pygpointer.c index 5f88b31..c955c3d 100644 --- a/gobject/pygpointer.c +++ b/gobject/pygpointer.c @@ -108,7 +108,7 @@ pyg_register_pointer(PyObject *dict, const gchar *class_name, if (!type->tp_dealloc) type->tp_dealloc = (destructor)pyg_pointer_dealloc; - Py_TYPE(&type) = &PyType_Type; + Py_TYPE(type) = &PyType_Type; type->tp_base = &PyGPointer_Type; if (PyType_Ready(type) < 0) { |
