$OpenBSD: patch-xl_main_py,v 1.3 2013/01/11 10:17:19 giovanni Exp $
--- xl/main.py.orig	Thu Nov 15 18:28:50 2012
+++ xl/main.py	Thu Jan  3 18:01:36 2013
@@ -620,6 +620,8 @@ class Exaile(object):
                 context.iteration(True)
             except:
                 pass
+            finally:
+                gtk.gdk.threads_leave()
 
     def get_version(self):
         """
