Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-09-28 22:23:24 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-09-28 22:23:24 (GMT)
commit4f2b8b3e31ed29c5eece4126f224216c0d30b04c (patch)
treecfc867c1e669deb7b4701c6ee64dda5a98a8b4e0 /shell
parentea967b02d50b66ea0e6a656d4deeb59321b55ebf (diff)
No need to initialize gtk threads, glib is enough.
Fix lockups in the browser.
Diffstat (limited to 'shell')
-rwxr-xr-xshell/sugar-activity-factory3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/sugar-activity-factory b/shell/sugar-activity-factory
index 7be73d1..aeba2df 100755
--- a/shell/sugar-activity-factory
+++ b/shell/sugar-activity-factory
@@ -4,11 +4,12 @@ import logging
import pygtk
pygtk.require('2.0')
+import gobject
import gtk
import dbus.glib
# Work around for dbus mutex locking issue
-gtk.gdk.threads_init()
+gobject.threads_init()
dbus.glib.threads_init()
from sugar.activity import ActivityFactory