summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Henstridge <jamesh@src.gnome.org>1999-07-18 14:41:07 +0000
committerJames Henstridge <jamesh@src.gnome.org>1999-07-18 14:41:07 +0000
commitb65f3e4544e8e745fadb4cf26a830528b9b8b19c (patch)
treede767d9e28b2ed55d27e979f358e3c7fe2a99fdc
parent7abac6c4d53e3c30b84687c268a2df07ff9f1117 (diff)
downloadpygtk-b65f3e4544e8e745fadb4cf26a830528b9b8b19c.tar.gz
*** empty log message ***
-rw-r--r--gtkmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtkmodule.c b/gtkmodule.c
index 487cc069..17bd08fc 100644
--- a/gtkmodule.c
+++ b/gtkmodule.c
@@ -5464,9 +5464,9 @@ static PyObject *_wrap_gtk_ctree_base_nodes(PyObject *self, PyObject *args) {
static PyObject *_wrap_gdk_threads_enter(PyObject *self, PyObject *args) {
if (!PyArg_ParseTuple(args, ":gdk_threads_enter"))
return NULL;
- PyGTK_UNBLOCK_THREADS
+ Py_BEGIN_ALLOW_THREADS
gdk_threads_enter();
- PyGTK_BLOCK_THREADS
+ Py_END_ALLOW_THREADS
Py_INCREF(Py_None);
return Py_None;
}