diff options
author | Loïc Minier <lool@dooz.org> | 2008-09-02 22:20:21 +0000 |
---|---|---|
committer | Loic Minier <lminier@src.gnome.org> | 2008-09-02 22:20:21 +0000 |
commit | 36bc4d64d9be18af0758bf26c0e5c2be2c48936a (patch) | |
tree | 0f70d132017981ca35852df03b9ea089575ba2df /gobject | |
parent | 34c625379fc4e2d630194a1ee945c0c3a71564f4 (diff) | |
download | pygobject-36bc4d64d9be18af0758bf26c0e5c2be2c48936a.tar.gz pygobject-36bc4d64d9be18af0758bf26c0e5c2be2c48936a.tar.xz pygobject-36bc4d64d9be18af0758bf26c0e5c2be2c48936a.zip |
Fix typo (s/&type/type) introduced in r886 causing weird crashes on
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.
svn path=/trunk/; revision=961
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/pygpointer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |