Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-02-16 03:23:50 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-02-16 03:23:50 (GMT)
commit7e1f288c1f0f39df31d6cd8e6244b32a304175f2 (patch)
tree4d535617139f0c2779e124ad1a7fdbe629c19c32
parent0c4e143941082a98b6fc8307cc82a89133c9bd9d (diff)
Init gthreads before using abiword
-rw-r--r--JokeMachineActivity.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/JokeMachineActivity.py b/JokeMachineActivity.py
index b4538a2..f3feb34 100644
--- a/JokeMachineActivity.py
+++ b/JokeMachineActivity.py
@@ -18,6 +18,10 @@
# own creations we would love to hear from you at info@WorldWideWorkshop.org !
#
+# init gthreads before using abiword
+import gobject
+gobject.threads_init()
+
import os
import logging
import gtk