fix threading issues here aswell
authorJohan Dahlin <johan@gnome.org>
Wed, 22 Sep 2004 18:01:45 +0000 (18:01 +0000)
committerJohan Dahlin <johan@gnome.org>
Wed, 22 Sep 2004 18:01:45 +0000 (18:01 +0000)
Original commit message from CVS:
fix threading issues here aswell

gst/gstbin.override

index 73ead9c..bf6be93 100644 (file)
@@ -94,9 +94,10 @@ _wrap_gst_bin_iterate(PyGObject *self)
 {
        int ret;
 
-       Py_BEGIN_ALLOW_THREADS;
+        pyg_begin_allow_threads;
+    
        ret = gst_bin_iterate(GST_BIN(self->obj));
-       Py_END_ALLOW_THREADS;
+        pyg_end_allow_threads;
        return PyInt_FromLong(ret);
 }
 %%