From 36bc4d64d9be18af0758bf26c0e5c2be2c48936a Mon Sep 17 00:00:00 2001 From: Loïc Minier Date: Tue, 2 Sep 2008 22:20:21 +0000 Subject: Fix typo (s/&type/type) introduced in r886 causing weird crashes on MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-09-03 Loïc Minier * gobject/pygpointer.c: (pyg_register_pointer): Fix typo (s/&type/type) introduced in r886 causing weird crashes on x86-64; bug #550463. svn path=/trunk/; revision=961 --- gobject/pygpointer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gobject') 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) { -- cgit