No need to initialize gtk threads, glib is enough.
Fix lockups in the browser.
This commit is contained in:
parent
ea967b02d5
commit
4f2b8b3e31
@ -4,11 +4,12 @@ import logging
|
|||||||
|
|
||||||
import pygtk
|
import pygtk
|
||||||
pygtk.require('2.0')
|
pygtk.require('2.0')
|
||||||
|
import gobject
|
||||||
import gtk
|
import gtk
|
||||||
import dbus.glib
|
import dbus.glib
|
||||||
|
|
||||||
# Work around for dbus mutex locking issue
|
# Work around for dbus mutex locking issue
|
||||||
gtk.gdk.threads_init()
|
gobject.threads_init()
|
||||||
dbus.glib.threads_init()
|
dbus.glib.threads_init()
|
||||||
|
|
||||||
from sugar.activity import ActivityFactory
|
from sugar.activity import ActivityFactory
|
||||||
|
Loading…
Reference in New Issue
Block a user