diff options
author | Johan Dahlin <johan@gnome.org> | 2008-07-14 21:35:17 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-14 21:35:17 +0000 |
commit | 62f6bc7ea07cc7240cfc67daf51d2737e7cd514b (patch) | |
tree | 04e5cfca64e958dca534f8c3413970a8fd5b45fa /gobject/pygsource.c | |
parent | 816cf86462e0f1395bd9c30c85401d747acbfa64 (diff) | |
download | pygobject-62f6bc7ea07cc7240cfc67daf51d2737e7cd514b.tar.gz pygobject-62f6bc7ea07cc7240cfc67daf51d2737e7cd514b.tar.xz pygobject-62f6bc7ea07cc7240cfc67daf51d2737e7cd514b.zip |
Bug 504337 - crash bug in gobject.Timeout and gobject.Idle
2008-07-14 Johan Dahlin <johan@gnome.org>
Bug 504337 - crash bug in gobject.Timeout and gobject.Idle
* gobject/pygsource.c:
* tests/test_source.py:
Fix crash in Timeout and Idle, patch by Bryan Silverthorn.
svn path=/trunk/; revision=799
Diffstat (limited to 'gobject/pygsource.c')
-rw-r--r-- | gobject/pygsource.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gobject/pygsource.c b/gobject/pygsource.c index 9e831e5..53d0cae 100644 --- a/gobject/pygsource.c +++ b/gobject/pygsource.c @@ -651,8 +651,7 @@ PyTypeObject PyGIdle_Type = { (getattrofunc)0, /* tp_getattro */ (setattrofunc)0, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | - Py_TPFLAGS_HAVE_GC, /* tp_flags */ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ NULL, /* tp_doc */ (traverseproc)0, /* tp_traverse */ (inquiry)0, /* tp_clear */ @@ -728,8 +727,7 @@ PyTypeObject PyGTimeout_Type = { (getattrofunc)0, /* tp_getattro */ (setattrofunc)0, /* tp_setattro */ 0, /* tp_as_buffer */ - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE | - Py_TPFLAGS_HAVE_GC, /* tp_flags */ + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, /* tp_flags */ NULL, /* tp_doc */ (traverseproc)0, /* tp_traverse */ (inquiry)0, /* tp_clear */ |