diff options
author | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-08-04 14:52:52 +0000 |
---|---|---|
committer | Gustavo J. A. M. Carneiro <gcarneiro@src.gnome.org> | 2004-08-04 14:52:52 +0000 |
commit | 272e668c19e45ad9f00312f89077d75bd74646c1 (patch) | |
tree | e0d2de911e9112e2332e9c985ce31b50af04238f /gobject/pygmainloop.c | |
parent | e3135078a867a0dcd44647a480d990210e7496c2 (diff) | |
download | pygobject-272e668c19e45ad9f00312f89077d75bd74646c1.tar.gz pygobject-272e668c19e45ad9f00312f89077d75bd74646c1.tar.xz pygobject-272e668c19e45ad9f00312f89077d75bd74646c1.zip |
make threading runtime optional
Diffstat (limited to 'gobject/pygmainloop.c')
-rw-r--r-- | gobject/pygmainloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/pygmainloop.c b/gobject/pygmainloop.c index 5bd8487..7a6b1c1 100644 --- a/gobject/pygmainloop.c +++ b/gobject/pygmainloop.c @@ -100,9 +100,9 @@ _wrap_g_main_loop_quit (PyGMainLoop *self) static PyObject * _wrap_g_main_loop_run (PyGMainLoop *self) { - Py_BEGIN_ALLOW_THREADS; + pyg_begin_allow_threads; g_main_loop_run(self->loop); - Py_END_ALLOW_THREADS; + pyg_end_allow_threads; Py_INCREF(Py_None); return Py_None; |