summaryrefslogtreecommitdiffstats
path: root/gobject/pygmainloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gobject/pygmainloop.c')
-rw-r--r--gobject/pygmainloop.c4
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;