[telepathy-python/master] Add threads_init call

Olivier Crête olivier.crete at collabora.co.uk
Mon May 4 04:08:07 PDT 2009


---
 examples/call.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/examples/call.py b/examples/call.py
index 247060b..20d6efe 100644
--- a/examples/call.py
+++ b/examples/call.py
@@ -247,6 +247,8 @@ class IncomingCall(Call):
         print "waiting for incoming call"
 
 if __name__ == '__main__':
+    gobject.threads_init()
+
     args = sys.argv[1:]
 
     assert len(args) in (1, 2)
-- 
1.5.6.5




More information about the telepathy-commits mailing list