blob: 9553c90cc166e66bfba84ba60055a6215873b5ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-aa,v 1.3 2009/09/10 19:03:48 wiz Exp $
--- 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())
|