[kupfer: 1/18] dbus: fix problem with crashing kupfer



commit 7f6a0c0d6f81341e3ef878e314af23db23023526
Author: Karol BÄdkowski <karol bedkowski gmail com>
Date:   Sat Nov 17 16:51:43 2012 +0100

    dbus: fix problem with crashing kupfer
    
    +dbus.glib.threads_init() in kupfer.ui.listen
    
    closes: lp#1038434

 kupfer/ui/listen.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/ui/listen.py b/kupfer/ui/listen.py
index ca894f0..fa88320 100644
--- a/kupfer/ui/listen.py
+++ b/kupfer/ui/listen.py
@@ -11,6 +11,8 @@ try:
 	import dbus.service
 	from kupfer.dbuscompat import ExportedGObject
 
+	dbus.glib.threads_init()
+
 # if dbus unavailable print the exception here
 # but further actions (register) will fail without warning
 	session_bus = dbus.Bus()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]