summaryrefslogtreecommitdiffstats
path: root/gobject/pygobject.c
diff options
context:
space:
mode:
authorJohn Ehresman <jpe@src.gnome.org>2005-08-24 18:51:38 +0000
committerJohn Ehresman <jpe@src.gnome.org>2005-08-24 18:51:38 +0000
commit844ff2b73c9f2529d65a5ca2e8b863549886e36e (patch)
tree0417952ca1b4df31232f7b77361f137f9acf051d /gobject/pygobject.c
parenta470e9c67a35ef7fbd6b6243a4a99f06ace39d1b (diff)
downloadpygobject-844ff2b73c9f2529d65a5ca2e8b863549886e36e.tar.gz
pygobject-844ff2b73c9f2529d65a5ca2e8b863549886e36e.tar.xz
pygobject-844ff2b73c9f2529d65a5ca2e8b863549886e36e.zip
Added sources so gobject module will compile, fixed enable/disable threadPYGTK_2_7_4
* setup.py: Added sources so gobject module will compile, fixed enable/disable thread support, and changed default so thread support is enabled unless --disable-threading is specified * gobject/gobjectmodule.c, gobject/pygobject.c: Set PyGObject_MetaType.tp_base in module initialization to keep VC++ happy
Diffstat (limited to 'gobject/pygobject.c')
-rw-r--r--gobject/pygobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c
index a7b1a33..957df39 100644
--- a/gobject/pygobject.c
+++ b/gobject/pygobject.c
@@ -1685,7 +1685,7 @@ PyTypeObject PyGObject_MetaType = {
0, /* tp_methods */
0, /* tp_members */
0, /* tp_getset */
- &PyType_Type, /* tp_base */
+ NULL, /* tp_base */
(PyObject *)0, /* tp_dict */
0, /* tp_descr_get */
0, /* tp_descr_set */