openbsd-ports/audio/sonata/patches/patch-sonata_main_py

16 lines
443 B
Plaintext

$OpenBSD: patch-sonata_main_py,v 1.5 2012/07/04 11:44:23 ajacoutot Exp $
http://codingteam.net/project/sonata/bugs/show/2870
(committed upstream)
--- sonata/main.py.orig Mon Sep 21 23:02:16 2009
+++ sonata/main.py Wed Jul 4 13:43:54 2012
@@ -3400,4 +3400,7 @@ class Base(object):
self.on_currsong_notify(force_popup=True)
def main(self):
+ gtk.gdk.threads_init()
+ gtk.gdk.threads_enter()
gtk.main()
+ gtk.gdk.threads_leave()