blob: 519a349f833f195f3877a2733c63a04dc507b519 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-aa,v 1.4 2019/08/29 10:33:59 wiz Exp $
revision 1.1
date: 2008-03-14 15:20:22 +0100; author: drochner; state: Exp;
fix locking around gtk mainloop, bump PKGREVISION
--- gtk/gtk.override.orig 2009-08-12 22:55:36.000000000 +0000
+++ gtk/gtk.override
@@ -1238,7 +1238,9 @@ _wrap_gtk_main(PyObject *self)
pyg_begin_allow_threads;
g_source_attach(main_watch, NULL);
g_source_unref(main_watch);
+ gdk_threads_enter();
gtk_main();
+ gdk_threads_leave();
g_source_destroy(main_watch);
pyg_end_allow_threads;
if (PyErr_Occurred())
|