Description: Always initialize DBus locking system when loading the module.
 This workarounds the lack of "threads_init" function in the Python Qt DBus.
 binding. For more details, see:
 https://mailman.boum.org/pipermail/tails-dev/2012-September/001701.html
Author: Tails developers <tails@boum.org>
Forwarded: no
Last-Update: <2013-01-06>

--- dbus-python-1.1.1.orig/_dbus_bindings/module.c
+++ dbus-python-1.1.1/_dbus_bindings/module.c
@@ -264,6 +264,8 @@ init_dbus_bindings(void)
 
     default_main_loop = NULL;
 
+    dbus_threads_init_default();
+
     if (!dbus_py_init_generic()) goto init_error;
     if (!dbus_py_init_abstract()) goto init_error;
     if (!dbus_py_init_signature()) goto init_error;
